Re: nested EPT

2014-01-17 Thread duy hai nguyen
On Fri, Jan 17, 2014 at 2:51 AM, duy hai nguyen wrote: >>> Now I can run an L2 guest (nested guest) using the kvm kernel module >>> of kernel 3.12 >>> >>> However, I am facing a new problem when trying to build and use kvm >>> kernel module from git://g

Re: nested EPT

2014-01-16 Thread duy hai nguyen
you very much Best, Hai On Thu, Jan 16, 2014 at 1:17 PM, duy hai nguyen wrote: > Thanks, Jan and Paolo! > > Great! It helps solve the problem. > > Sincerely, > Hai > > On Thu, Jan 16, 2014 at 12:09 PM, Paolo Bonzini wrote: >> Il 16/01/2014 17:10, duy hai nguy

Re: nested EPT

2014-01-16 Thread duy hai nguyen
Thanks, Jan and Paolo! Great! It helps solve the problem. Sincerely, Hai On Thu, Jan 16, 2014 at 12:09 PM, Paolo Bonzini wrote: > Il 16/01/2014 17:10, duy hai nguyen ha scritto: >> Dear All, >> >> I am having a problem with using nested EPT in my system: In L0 >>

nested EPT

2014-01-16 Thread duy hai nguyen
Dear All, I am having a problem with using nested EPT in my system: In L0 hypervisor CPUs support vmx and ept; however, L1 hypervisor's CPUs do not have ept capability. Flag 'ept' appears in /proc/cpuinfo of L0 but does not show in that of L1. - 'Nested' and 'EPT' are enabled in L0: $cat /sys/mo

Read guest memory within the kernel module

2013-11-18 Thread duy hai nguyen
Dear All, In KVM kernel module, function "kvm_read_guest" can be used to read memory of the currently running guest given the physical address of the guest. If we know the physical address of a guest (not just the currently running guest), Is there a way to read its memory within the kernel modul

Re: Changing guest I/O path in KVM

2013-10-10 Thread Hai Nguyen
Stefan Hajnoczi gmail.com> writes: > > Thanks, Stefan! > > > > In the network file system (NFS) approach you mentioned, I understand that > > the I/O requests will go directly from VM1 to VM2 via network before > > reaching QEMU for I/O handling. Please correct if I am wrong. > > The networ

Re: Changing guest I/O path in KVM

2013-10-02 Thread Hai Nguyen
Stefan Hajnoczi gmail.com> writes: > > On Mon, Sep 30, 2013 at 08:29:30PM -0400, duy hai nguyen wrote: > > I have this question regarding the way KVM handles I/O requests from a guest: > > > > IO requests from a guest are trapped by KVM. KVM then forwards the >

Changing guest I/O path in KVM

2013-09-30 Thread duy hai nguyen
Dear All, I have this question regarding the way KVM handles I/O requests from a guest: IO requests from a guest are trapped by KVM. KVM then forwards the requests to QEMU to handle. I am wondering if there is a way to make KVM forward the IO requests to another guest instead of QEMU? I want thi