On 15/7/21 16:15, Samuel Sieb wrote:
On 7/14/21 4:37 PM, Stephen Morris wrote:
On 14/7/21 22:43, Ed Greshko wrote:
On 14/07/2021 20:30, Patrick O'Callaghan wrote:
On Wed, 2021-07-14 at 21:34 +1000, Stephen Morris wrote:
The OS in the VM can't see any of the hardware on the host system
unless the VM specifically passes it through. Normally, all
"hardware" in the VM is virtual. qemu has an option to add a TPM
by
either creating a virtual one or passing the hardware one through.
I
have no idea about vmware or virtualbox.
I thought that if the tpm is in the cpu as the bios in my motherboard
is
indicating, whether the vm supported adding the hardware tpm as a
device
or not, because the vm has access to the cpu, the tpm would then be
automatically available to the vm.
None of your hardware is automatically available. The virtual CPU may
not even be the same as the real one.
That's for sure. My VM's think they have Intel i7 CPU's while my
host system is actually
i5.
If I look at /proc/cpuinfo and it lists the 4 cpu's I've given to the
vm as being the same name as the physical cpu and that it is an 8
core cpu in the modelname section and in the vendorid section is says
it is an AuthenticAMD, isn't that telling me the vm is seeing the
physical cpu?
Not really. It depends on the VM system, but at least for some, the
default is to pass the real CPU's cpuid into the VM's "CPU". The
virtual OS is running on the physical CPU (emulation is *SLOW*), but
the bits that identify the CPU are special instructions. These are
intercepted by the VM and adjusted to give the answers you want. I
suspect that the actual extended instructions (like AVX, SSEx, or
whatever) would still be usable even if the cpuid was adjusted to
exclude them.
Found an interesting issue with virtualbox on a Windows 10 host. As the
Windows 11 installer I have requires Windows 10 to already be installed,
I installed Windows 10 in a virtualbox vm, and with the vm running in
the default window mode Windows 11 complained it wasn't an environment
where Windows 11 could be installed, but if I switched the vm into
fullscreen mode Windows 11 installed quite happily.
regards,
Steve
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct:
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives:
https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam on the list, report it:
https://pagure.io/fedora-infrastructure
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure