> Wenhao Xu <xuwenhao2008@xxxxxxxxx> 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 -- 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