Re: Should KVM_GUEST stop depending on PARAVIRT?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 7/27/2015 11:45 AM, Andy Lutomirski wrote:

With PARAVIRT=y it never #GPs:

         .read_msr = native_read_msr_safe,
         .write_msr = native_write_msr_safe,

I don't remember if it's this way on bare-metal too.

Oh, whoops, I missed the "_safe".  IMO that's just a bug, and I guess
KVM relies on it?

btw it's a common misperception that _safe is actually safe;-)
they're still highly dangerous, just they won't fault on the linux side



ISTM the host should be fixed so that a non-PARAVIRT guest won't crash
when using perf (if it indeed currently crashes) and/or the perf code
should be fixed to work without this bug^Wfeature.

Then KVM_GUEST kernels could be de-bloated by dropping PARAVIRT.

Hi Arjan- A quick and dirty measurement suggests that this would save
2-3 ms when booting a KVM_GUEST=y kernel under KVM by turning
apply_paravirt into a noop.

nice

--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux