[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH] usb-uhci.c: save/load state implementation
From: |
Lonnie Mendez |
Subject: |
[Qemu-devel] [PATCH] usb-uhci.c: save/load state implementation |
Date: |
Fri, 24 Nov 2006 18:28:38 -0600 |
lo list. Attached is a patch that implements save/load state for
the uhci controller. The code will only work well if you remove all usb
devices attached to the guest prior to saving the vm state. There is no
code yet that tries to reconstruct the ports list.
I'm sure there will need to be additional code to the handle the
case of previously attached devices - this is difficult because the
device(s) could have been removed, the device state could have changed,
etc.
Test case with windows xp guest.
(qemu) stop
(qemu) savevm test1
(qemu) quit
qemu -hda winxp.qcow2 -localtime -usb -no-acpi -kernel-kqemu -loadvm
test1
Adding the usb tablet after resuming the guest results in a functional
tablet input device.
qemu-uhci-savestate.diff
Description: Text Data
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Qemu-devel] [PATCH] usb-uhci.c: save/load state implementation,
Lonnie Mendez <=