qemu_new_timer should be using vm_clock, not QEMU_CLOCK_VIRTUAL
in the old qemu OBS-URL: https://build.opensuse.org/package/show/Virtualization/xen?expand=0&rev=406
This commit is contained in:
parent
95d1280885
commit
a6308422ce
@ -10,10 +10,10 @@ Signed-off-by: Gerd Hoffmann <address@hidden>
|
|||||||
hw/usb/hcd-ohci.c | 31 +++++--------------------------
|
hw/usb/hcd-ohci.c | 31 +++++--------------------------
|
||||||
1 file changed, 5 insertions(+), 26 deletions(-)
|
1 file changed, 5 insertions(+), 26 deletions(-)
|
||||||
|
|
||||||
Index: xen-4.5.2-testing/tools/qemu-xen-traditional-dir-remote/hw/usb-ohci.c
|
Index: xen-4.6.1-testing/tools/qemu-xen-traditional-dir-remote/hw/usb-ohci.c
|
||||||
===================================================================
|
===================================================================
|
||||||
--- xen-4.5.2-testing.orig/tools/qemu-xen-traditional-dir-remote/hw/usb-ohci.c
|
--- xen-4.6.1-testing.orig/tools/qemu-xen-traditional-dir-remote/hw/usb-ohci.c
|
||||||
+++ xen-4.5.2-testing/tools/qemu-xen-traditional-dir-remote/hw/usb-ohci.c
|
+++ xen-4.6.1-testing/tools/qemu-xen-traditional-dir-remote/hw/usb-ohci.c
|
||||||
@@ -1139,16 +1139,6 @@ static void ohci_frame_boundary(void *op
|
@@ -1139,16 +1139,6 @@ static void ohci_frame_boundary(void *op
|
||||||
*/
|
*/
|
||||||
static int ohci_bus_start(OHCIState *ohci)
|
static int ohci_bus_start(OHCIState *ohci)
|
||||||
@ -47,7 +47,7 @@ Index: xen-4.5.2-testing/tools/qemu-xen-traditional-dir-remote/hw/usb-ohci.c
|
|||||||
qemu_register_reset(ohci_reset, ohci);
|
qemu_register_reset(ohci_reset, ohci);
|
||||||
ohci_reset(ohci);
|
ohci_reset(ohci);
|
||||||
+
|
+
|
||||||
+ ohci->eof_timer = qemu_new_timer(QEMU_CLOCK_VIRTUAL,
|
+ ohci->eof_timer = qemu_new_timer(vm_clock,
|
||||||
+ ohci_frame_boundary, ohci);
|
+ ohci_frame_boundary, ohci);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user