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:
Charles Arnold 2016-03-02 17:40:10 +00:00 committed by Git OBS Bridge
parent 95d1280885
commit a6308422ce
2 changed files with 4 additions and 5 deletions

View File

@ -10,10 +10,10 @@ Signed-off-by: Gerd Hoffmann <address@hidden>
hw/usb/hcd-ohci.c | 31 +++++--------------------------
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.5.2-testing/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.6.1-testing/tools/qemu-xen-traditional-dir-remote/hw/usb-ohci.c
@@ -1139,16 +1139,6 @@ static void ohci_frame_boundary(void *op
*/
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);
ohci_reset(ohci);
+
+ ohci->eof_timer = qemu_new_timer(QEMU_CLOCK_VIRTUAL,
+ ohci->eof_timer = qemu_new_timer(vm_clock,
+ ohci_frame_boundary, ohci);
}

View File

@ -15,7 +15,6 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# needssslcertforbuild
Name: xen