[questions] savevm|loadvm

2010-03-29 Thread Wenhao Xu
Hi, all,    I am working with switching QEMU from running in KVM mode to QEMU emulatoin mode dynamically.    Intuitively, if the snapshot created using savevm in kvm mode can be used by the loadvm command in QEMU emulator mode, the switchment could makes use of this.  I tried to do so. However, it

Re: [questions] savevm|loadvm

2010-03-30 Thread Wenhao Xu
d then run into QEMU emulator mode. However, I got an error, "qemu: fatal: invalid tss type". I don't know exactly where is the problem. Thanks for helping me working this out. I am really stuck into this problem. regards, Wenhao On Tue, Mar 30, 2010 at 1:22 AM, Juan Quintela

Re: [questions] savevm|loadvm

2010-04-01 Thread Wenhao Xu
void do_is_emulation(Monitor *mon, const QDict *qdict, QObject **ret_data) +{ + CPUState *env = mon_get_cpu(); + if(env->is_in_emulation) +monitor_printf(mon, "Emulating now\n"); + else +monitor_printf(mon, "Virtualizing now\n"); +} + Thanks for the help