Guest systems sees CPU of the Host

aha ok cool, but should we inform qubes about this ?

Moved that information here:

I am not sure yet. The KVM vs Qubes difference does not look that bad.

I wonder if only different hardware resulted in the difference.

Whonix KVM report:
https://phabricator.whonix.org/T449

Already a known issue.

Good news.

its the same as before

user@host:~$ cat /proc/cpuinfo
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 6
model name : QEMU Virtual CPU version 2.1.2
stepping : 3
microcode : 0x1
cache size : 4096 KB
physical id : 0
siblings : 1
core id : 0
cpu cores : 1
apicid : 0
initial apicid : 0
fdiv_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 4
wp : yes
flags : fpu de pse msr pae mce cx8 apic sep mtrr pge mca cmov pse36 mmx fxsr sse sse2 syscall nx lm pni cx16 x2apic popcnt aes hypervisor lahf_lm
bogomips : 1185.79
clflush size : 32
cache_alignment : 32
address sizes : 40 bits physical, 48 bits virtual
power management:

processor : 1
vendor_id : GenuineIntel
cpu family : 6
model : 6
model name : QEMU Virtual CPU version 2.1.2
stepping : 3
microcode : 0x1
cache size : 4096 KB
physical id : 1
siblings : 1
core id : 0
cpu cores : 1
apicid : 1
initial apicid : 1
fdiv_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 4
wp : yes
flags : fpu de pse msr pae mce cx8 apic sep mtrr pge mca cmov pse36 mmx fxsr sse sse2 syscall nx lm pni cx16 x2apic popcnt aes hypervisor lahf_lm
bogomips : 1173.50
clflush size : 32
cache_alignment : 32
address sizes : 40 bits physical, 48 bits virtual
power management:

1 Like

Great stuff. Added to wiki. Thanks @nurmagoz!

1 Like

https://github.com/Whonix/Whonix/commit/6db3c345c80ee9841fcae57621cafbfcdd000a0f

1 Like

Quote dumbmouse

After much research this is the best way to hide the CPU using VirtualBox:
[…]

See more:
https://phabricator.whonix.org/T408#11595

cat /proc/cpuinfo in KVM doesnt show

model name : QEMU Virtual CPU version 2.1.2

it will show the same reading as vbox.

cc @HulaHoop any idea?

2 Likes

Probably related to spectre/meltdown alike CPU bugs.

libvirt-dist/usr/share/libvirt-dist/xml/Whonix-Workstation.xml at master · Kicksecure/libvirt-dist · GitHub

  <cpu mode='host-passthrough'/>
  <vcpu placement='static' cpuset='1'>1</vcpu>

Quote Should all kernel patches for CPU bugs be unconditionally enabled? Vs Performance vs Applicability - #7 by Patrick

HulaHoop changed Whonix KVM to host-passthrough :

KVM CPU masking got proverbially killed by specture/meltdown CPU bugs. CPU masking can no longer be recommended due the CPU bugs.

Qubes has the same issue. → Technical Challenges

related:

1 Like