diff options
| author | Wen Congyang | 2011-06-17 04:25:22 +0200 |
|---|---|---|
| committer | Anthony Liguori | 2011-07-23 18:19:02 +0200 |
| commit | e69ae5c49af45a67ebdf6a7cf465eb91b5c8ee11 (patch) | |
| tree | f98f5afd678a8878d55c1a39b04e25cdf4f95643 /ui | |
| parent | vl.c: Don't limit node count by smp count (diff) | |
| download | qemu-e69ae5c49af45a67ebdf6a7cf465eb91b5c8ee11.tar.gz qemu-e69ae5c49af45a67ebdf6a7cf465eb91b5c8ee11.tar.xz qemu-e69ae5c49af45a67ebdf6a7cf465eb91b5c8ee11.zip | |
do not reset no_shutdown after we shutdown the vm
Daniel P. Berrange sent a libvirt's patch to support
reboots with the QEMU driver. He implements it in
json model like this:
1. add -no-shutdown in the qemu's option:
qemu -no-shutdown xxxx
2. shutdown the vm by monitor command system_powerdown
3. wait for shutdown event
4. reset the vm by monitor command system_reset
no_shutdown will be reset to 0 if the vm is powered down.
We only can reboot the vm once.
If no_shutdown is not reset to 0, we can reboot the vm
many times.
Signed-off-by: Wen Congyang <wency@cn.fujitsu.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'ui')
0 files changed, 0 insertions, 0 deletions
