[Qemu-devel] Any function to access nested guest virtual address space?

2019-07-15 Thread Jidong Xiao
Hi, All, I know this function cpu_memory_rw_debug() allows us to access a virtual machine's virtual memory address. Is there any similar function that allows us to access the virtual memory space of a nested virtual machine? i.e., L2. Thanks. -Jidong

[Qemu-devel] Nested virtual machine introspection

2019-07-06 Thread Jidong Xiao
Hi, We are working on a project where we need to explore the virtual machine introspection technique in a nested environment. More specifically, we want to know if from L0, we can reconstruct the process list of L2. And to begin with, we just want to explore a relatively simple case, i.e., only on

Re: [Qemu-devel] qemu testing image link not work

2018-04-02 Thread Jidong Xiao
On Mon, Apr 2, 2018 at 2:24 AM, Fam Zheng wrote: > On Mon, 04/02 01:52, Jidong Xiao wrote: >> Hi, >> >> A huge amount of documents has referenced this testing image: >> >> http://wiki.qemu.org/download/linux-0.2.img.bz2 >> >> However, the image is

[Qemu-devel] qemu testing image link not work

2018-04-02 Thread Jidong Xiao
Hi, A huge amount of documents has referenced this testing image: http://wiki.qemu.org/download/linux-0.2.img.bz2 However, the image is no longer there. Is the image still available somewhere? Thanks. -Jidong

[Qemu-devel] Question regarding a special case VM communication

2016-03-02 Thread Jidong Xiao
Hello, All, I am facing this special case of VM communication. I have a Linux host machine, on which two Qemu/KVM virtual machines are launched. Let's say they are VM1 and VM2, and their corresponding processes on the host are Qemu1 and Qemu2. Inside VM2, I need nested virtualization, i.e., A qem

Re: [Qemu-devel] Question regarding two variables in qemu migration code

2015-01-13 Thread Jidong Xiao
On Tue, Jan 13, 2015 at 1:38 AM, Dr. David Alan Gilbert wrote: > * Jidong Xiao (jidong.x...@gmail.com) wrote: >> Hi, > > Hi, > >> I am looking at the qemu source code, and trying to understand the >> migration part. In arch_init.c, there are two variables which

[Qemu-devel] Question regarding two variables in qemu migration code

2015-01-12 Thread Jidong Xiao
Hi, I am looking at the qemu source code, and trying to understand the migration part. In arch_init.c, there are two variables which seems quite confusing to me, They are: static uint64_t migration_dirty_pages; static int64_t num_dirty_pages_period; // defined in function migration_bitmap_sync(

[Qemu-devel] How does qemu know the virtual memory of the guest os?

2014-11-28 Thread Jidong Xiao
Hi, I notice that Qemu supports dump virtual memory of Guest OS. As this page suggests: http://doc.opensuse.org/products/draft/SLES/SLES-kvm_sd_draft/cha.qemu.monitor.html To save the content of the virtual machine memory to a disk or console output, use the following commands: memsave

Re: [Qemu-devel] Where is the VM live migration code?

2014-11-17 Thread Jidong Xiao
On Mon, Nov 17, 2014 at 5:29 PM, Zhang Haoyu wrote: >> Hi, >> >> I saw this page: >> >> http://www.linux-kvm.org/page/Migration. >> >> It looks like Migration is a feature provided by KVM? But when I look >> at the Linux kernel source code, i.e., virt/kvm, and arch/x86/kvm, I >> don't see the code

[Qemu-devel] Where is the VM live migration code?

2014-11-17 Thread Jidong Xiao
Hi, I saw this page: http://www.linux-kvm.org/page/Migration. It looks like Migration is a feature provided by KVM? But when I look at the Linux kernel source code, i.e., virt/kvm, and arch/x86/kvm, I don't see the code for this migration feature. So I wonder where is the source code for the li

Re: [Qemu-devel] [questions] about KVM as a Microsoft-compatible hypervisor

2014-06-30 Thread Jidong Xiao
On Mon, Jun 30, 2014 at 6:02 AM, Vadim Rozenfeld wrote: > On Mon, 2014-06-30 at 09:39 +0800, Zhang Haoyu wrote: >> Hi, Vadim >> I read the kvm-2012-forum paper < KVM as a Microsoft-compatible hypervisor>, >> Any update and other references, please? >> >> Thanks, >> Zhang Haoyu >> >> > > Unfortunat

Re: [Qemu-devel] [PATCH] Qemu: Fix eax for cpuid leaf 0x40000000

2014-06-04 Thread Jidong Xiao
On Wed, Jun 4, 2014 at 3:08 PM, Bandan Das wrote: > Jidong Xiao writes: > >> On Wed, Jun 4, 2014 at 3:09 AM, Paolo Bonzini wrote: >>> Il 04/06/2014 03:10, Jidong Xiao ha scritto: >>> >>>> diff --git a/qemu-2.0.0/target-i386/kvm.c.orig >>>

Re: [Qemu-devel] [PATCH] Qemu: Fix eax for cpuid leaf 0x40000000

2014-06-04 Thread Jidong Xiao
On Wed, Jun 4, 2014 at 3:09 AM, Paolo Bonzini wrote: > Il 04/06/2014 03:10, Jidong Xiao ha scritto: > >> diff --git a/qemu-2.0.0/target-i386/kvm.c.orig >> b/qemu-2.0.0/target-i386/kvm.c >> index 4389959..b8b282d 100644 >> --- a/qemu-2.0.0/target-i386/kvm.c.orig &

[Qemu-devel] [PATCH] Qemu: Fix eax for cpuid leaf 0x40000000

2014-06-03 Thread Jidong Xiao
issue. Signed-off-by: Jidong Xiao --- diff --git a/qemu-2.0.0/target-i386/kvm.c.orig b/qemu-2.0.0/target-i386/kvm.c index 4389959..b8b282d 100644 --- a/qemu-2.0.0/target-i386/kvm.c.orig +++ b/qemu-2.0.0/target-i386/kvm.c @@ -530,7 +530,7 @@ int kvm_arch_init_vcpu(CPUState *cs) memcpy