qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] Re: [questions] savevm|loadvm


From: Paul Brook
Subject: Re: [Qemu-devel] Re: [questions] savevm|loadvm
Date: Thu, 1 Apr 2010 12:20:09 +0000
User-agent: KMail/1.12.4 (Linux/2.6.32-trunk-amd64; KDE/4.3.4; x86_64; ; )

> Wenhao Xu <address@hidden> wrote:
> > Hi, Juan,
> >    I am fresh to both QEMU and KVM. But so far, I notice that QEMU
> > uses "KVM_SET_USER_MEMORY_REGION" to set memory region that KVM can
> > use and uses cpu_register_physical_memory_offset to register the same
> > memory to QEMU emulator, which means QEMU and KVM use the same host
> > virtual memory. And therefore the memory KVM modified could be
> > directly reflected to QEMU. I don't quite understand the different
> > memory layout problem between the two. So I don't know exactly what
> > you mean to "fix" it?
> 
> 1st. qemu-kvm.git and qemu.git memory layouts are different, indeed with
> qemu.git kvm mode. (yes it is complex and weird).
> 
> kvm vs qemu initialization is different.  Expecting to stop kvm, and run
> tcg from there is not going to work.  I guess it would need a lot of
> changes, but I haven't looked at it myself.

FWIW I think this really *should* work, and any failure to do so is definitely 
a bug.

Paul




reply via email to

[Prev in Thread] Current Thread [Next in Thread]