Re: [PATCH 0/6] Add rudimentary Hyper-V guest support

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

 




On 18.05.2009, at 17:20, Avi Kivity wrote:

Alexander Graf wrote:

On 18.05.2009, at 15:29, Avi Kivity wrote:

Alexander Graf wrote:

There's only a limited potential here (a factor of three, reducing 6 exits to 2, less the emulation overhead). There's a lot more to be gained from nested npt, since you'll avoid most of the original exits in the first place.

I think the reversed is the case. Look at those numbers (w2k8 bootup):

http://pastebin.ca/1423596

The only thing nested NPT would achieve is a reduction of #NPF exits. But they are absolutely in the minority today already. Normal #PF's do get directly passed to the guest already.

#NPF exits are caused when guest/host mappings change, which they don't, or by mmio (which happens both for guest and nguest).

I don't understand how you can pass #PFs directly to the guest. Surely the guest has enabled pagefault interception, and you need to set up its vmcb?

I guess you're right: http://pastebin.ca/1426458

Any idea where the ioio exits come from? If it's IDE, we can eliminate them by using virtio.

I'm still not getting kvmtrace to work. ./kvmtrace -o log only gives me empty files (4 bytes each), even though I did ./configure --with- kvm-trace in the kernel dir.

Alex

--
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