(savevm and loadvm) appropriate order of events
when restoring a vm state saved to a file?
Eg, do I fire up qemu with this sort of invocation:
qemu -boot c -hda <hd image> <etc>
then later jump into the monitor and
loadvm <filename>
Or is there some other sequence of events? Some other method of importing the saved vm filename?
Thanks
Wesley Parish
Signature · 6 lines
Clinersterton beademung, with all of love - RIP James Blish ----- Mau e ki, he aha te mea nui? You ask, what is the most important thing? Maku e ki, he tangata, he tangata, he tangata. I reply, it is people, it is people, it is people.
Hi,
Quoted 4 lines · Wesley Parish
when restoring a vm state saved to a file?
Eg, do I fire up qemu with this sort of invocation:
qemu -boot c -hda <hd image> <etc>
How ´bout
qemu -hda <hd image> -loadvm <myfile>
Hth,
Dscho
Thanks heaps! It works!
(It should go in the docs, though. Is Fabrice okay with me adding that to them? ;)
Wesley Parish
Quoted 14 lines · Johannes Schindelin
Hi,
Quoted 4 lines · Wesley Parish
when restoring a vm state saved to a file?
Eg, do I fire up qemu with this sort of invocation:
qemu -boot c -hda <hd image> <etc>How ´bout
qemu -hda <hd image> -loadvm <myfile>
Hth,
Dscho
Signature · 6 lines
Clinersterton beademung, with all of love - RIP James Blish ----- Mau e ki, he aha te mea nui? You ask, what is the most important thing? Maku e ki, he tangata, he tangata, he tangata. I reply, it is people, it is people, it is people.
Quoted 5 lines · Wesley Parish
Thanks heaps! It works!
(It should go in the docs, though. Is Fabrice okay with me adding that to them? ;)
=loadvm is in the man oage. so it's already in the docs.
Quoted 32 lines
Wesley Parish
Quoted 14 lines · Johannes Schindelin
Hi,
Quoted 4 lines · Wesley Parish
when restoring a vm state saved to a file?
Eg, do I fire up qemu with this sort of invocation:
qemu -boot c -hda <hd image> <etc>How ??bout
qemu -hda <hd image> -loadvm <myfile>
Hth,
DschoSignature · 12 lines
Clinersterton beademung, with all of love - RIP James Blish ----- Mau e ki, he aha te mea nui? You ask, what is the most important thing? Maku e ki, he tangata, he tangata, he tangata. I reply, it is people, it is people, it is people. _______________________________________________ Qemu-devel mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/qemu-devel
Signature · 2 lines
Infinite complexity begets infinite beauty. Infinite precision begets infinite perfection.
Hi, Wesley,
The QEMU docs at http://fabrice.bellard.free.fr/qemu/qemu-doc.html read the following regarding one of QEMU's command-line parameters::
`-loadvm file'
Start right away with a saved state (loadvm in monitor)
Append this option and the saved state filename to the command line that you normally use to invoke QEMU.
I have found when I do so, I can't use the keyboard once everything is up and running (the mouse works). To work around that, go to the monitor momentarily (doing nothing there) and then back. The keyboard will work then.
-Vesko
----- Original Message ----- From: "Wesley Parish" <[email protected]>
To: <[email protected]>
Sent: Tuesday, October 25, 2005 11:32 AM
Subject: [Qemu-devel] (savevm and loadvm) appropriate order of events
Quoted 27 lines
when restoring a vm state saved to a file?
Eg, do I fire up qemu with this sort of invocation:
qemu -boot c -hda <hd image> <etc>
then later jump into the monitor and
loadvm <filename>Or is there some other sequence of events? Some other method of importing the saved vm filename?
Thanks
Wesley Parish
Signature · 12 lines
Clinersterton beademung, with all of love - RIP James Blish ----- Mau e ki, he aha te mea nui? You ask, what is the most important thing? Maku e ki, he tangata, he tangata, he tangata. I reply, it is people, it is people, it is people. _______________________________________________ Qemu-devel mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/qemu-devel
Hi,
Quoted 3 lines · Vesselin Peev
I have found when I do so, I can't use the keyboard once everything is up and running (the mouse works). To work around that, go to the monitor momentarily (doing nothing there) and then back. The keyboard will work then.
Please try this: do not go to the monitor, but hit Ctrl and Alt without any other key. I bet the keyboard works after that...
Ciao,
Dscho
Hi Johannes,
Quoted 2 lines
Please try this: do not go to the monitor, but hit Ctrl and Alt without any other key. I bet the keyboard works after that...
Yes, it does, thanks. Saves a finger stretch and one hitting one more key :). Also, one could hit them in any order, and any number of keys between them.
Best regards,
Vesko
Quoted 2 lines · Vesselin Peev
Yes, it does, thanks. Saves a finger stretch and one hitting one more key :). Also, one could hit them in any order, and any number of keys between them.
Someone probably should wip together a patch to sent Ctrl and Alt keyup events to the guest when using the magic hotkey combinations (and to not send it immediately after switching back to the guest via the magic hotkeys)... but to get around this you can run the monitor on stdio and switch to it using your host window manager...
Regards
Henrik
Hi,
Quoted 11 lines · Henrik Nordstrom
Quoted 3 lines · Vesselin Peev
Yes, it does, thanks. Saves a finger stretch and one hitting one more key :).
Also, one could hit them in any order, and any number of keys between them.Someone probably should wip together a patch to sent Ctrl and Alt keyup events to the guest when using the magic hotkey combinations (and to not send it immediately after switching back to the guest via the magic hotkeys)... but to get around this you can run the monitor on stdio and switch to it using your host window manager...
Ask, and it will be given you:
---
[PATCH] Release Alt & Ctrl when savevm'ing
This patch puts the keyup events for Alt&Ctrl into the keyboard queue just before saving the state.
---
hw/pckbd.c | 6 +++++- 1 files changed, 5 insertions(+), 1 deletions(-)
applies-to: f81b679dc9d656021f798cfe0422399a46f6b12a 6d4f72c3ddcea23ba905a874de4d4a79da9c4ca3
hw/pckbd.c +5 -1
@@ -732,7 +732,11 @@ static void kbd_reset(void *opaque)static void kbd_save (QEMUFile * f,void * opaque) {KBDState *s = (KBDState *)opaque; - + +/* release alt, ctrl */ +kbd_put_keycode (0x38 |0x80 );/* alt */ +kbd_put_keycode (0x1d |0x80 );/* ctrl */ +qemu_put_8s (f, &s->write_cmd);qemu_put_8s (f, &s->status);qemu_put_8s (f, &s->mode);
---
0.99.8.GIT