how emulated disk IO translated to physical disk IO on host side

2013-05-07 Thread sheng qiu
Hi all, i am trying to figure out the code path which translate the emulated disk IO issued by VM to actual physical disk IO on host side. Can anyone give me a clear view about this? i read the kvm side code about the VMexit handling, the handle_io() will be called for IO exits. for IO job that c

more interrupts (lower performance) in bare-metal compared with running VM

2012-07-27 Thread sheng qiu
Hi all, i am comparing network throughput performance under bare-metal case with that running VM with assigned-device (assigned NIC). i have two physical machines (each has a 10Gbit NIC), one is used as remote server (run netserver) and the other is used as the target tested one (run netperf with

Re: lots of APIC_TMICT exit on VM with assigned NIC

2012-07-12 Thread sheng qiu
7;s large, perhaps we can set some slack > on the timer so it's not re-set every time. > > > -- > error compiling committee.c: too many arguments to function > > -- Sheng Qiu Texas A & M University Room 332B Wisenbaker email: herbert1984...@gmail.com College Station,

lots of APIC_TMICT exit on VM with assigned NIC

2012-07-11 Thread sheng qiu
Hi all, i saw lots of APIC_TMICT exits while running a linux guest with assigned NIC. The APIC_TMICT exits is only a little fewer than the number of injected interrupts while handling network traffic on the assigned NIC. The network traffic was generated by running netperf on another machine targe

what is this function mean "is_no_device"?

2012-06-20 Thread sheng qiu
Hi all, does anyone can explain what "is_no_device()" and vmx_fpu_activate(vcpu) do? Thanks, Sheng -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: how to map a host virtual address (hva) to guest address space (gva/gpa/gfn)

2012-06-20 Thread sheng qiu
Thanks Mehul. On Tue, Jun 19, 2012 at 7:33 PM, Mehul Chadha wrote: > On Tue, Jun 19, 2012 at 6:09 PM, sheng qiu wrote: >> Hi all, >> >> is there any existing function in KVM that can map a host virtual >> address (hva) to the guest address space. So that the guest

how to map a host virtual address (hva) to guest address space (gva/gpa/gfn)

2012-06-19 Thread sheng qiu
Hi all, is there any existing function in KVM that can map a host virtual address (hva) to the guest address space. So that the guest VM can access it. i.e. translate hva to a gpa or gva or gfn, so the guest VM can use that converted address to access? Thanks, Sheng -- To unsubscribe from this li

Re: AMD KVM Pci Passthrough reports device busy

2012-06-05 Thread sheng qiu
the 14.x devices to be bound to pci-stub >> as well.  On my system, this includes an smbus controller, audio device, >> lpc controller, and usb device.  If AMD could confirm this device >> doesn't allow peer-to-peer between functions, we could relax this >> requirement a b