Remove references to USB paravirt driver
PATCH 1/1 Remove references to USB paravirt driver
There's dead code in the tools which was originally used for setting up the USB paravirt drivers. Since these are long gone, this patch removes those references. This shouldn't affect the operations qemu USB passthrough, which follows different paths, although I haven't tried it myself.
Should be safe for 3.2 but I can resubmit after if preferred.
Cheers,
Mark
Signature · 4 lines
Dave: Just a question. What use is a unicyle with no seat? And no pedals! Mark: To answer a question with a question: What use is a skateboard? Dave: Skateboards have wheels. Mark: My wheel has a wheel!
# HG changeset patch
# User [email protected]
# Date 1197164904 0
# Node ID e1f1250c1d2c34f3a1908753c1752e7ec65b36a9
# Parent baf90ee3c1dab65f4a386521be6e108920622866
[TOOLS] Remove references to USB paravirt driver. Doesn't affect qemu usb args.
Some relics in the control tools still refer to the USB paravirt driver. Remove this as it's dead code and is in the history for anyone really interested. The Qemu device model has its own USB configuration, which should still work.
tools/python/xen/xend/XendDevices.py +1 -2
@@ -19,7 +19,7 @@ # A collection of DevControllers # -from xen.xend.server import blkif, netif, tpmif, pciif, iopif, irqif, usbif, vfbif +from xen.xend.server import blkif, netif, tpmif, pciif, iopif, irqif, vfbif from xen.xend.server.BlktapController import BlktapController from xen.xend.server.ConsoleController import ConsoleController
@@ -41,7 +41,6 @@ class XendDevices: 'pci': pciif.PciController, 'ioports': iopif.IOPortsController, 'irq': irqif.IRQController, - 'usb': usbif.UsbifController, 'tap': BlktapController, 'vfb': vfbif.VfbifController, 'vkbd': vfbif.VkbdifController,
tools/python/xen/xend/server/usbif.py deleted +0 -42
42 lines not on this page · raw message
tools/python/xen/xm/create.py +0 -11
@@ -309,11 +309,6 @@ gopts.var('irq', val='IRQ', For example 'irq=7'. This option may be repeated to add more than one IRQ.""") -gopts.var('usbport', val='PATH', - fn=append_value, default=[], - use="""Add a physical USB port to a domain, as specified by the path - to that port. This option may be repeated to add more than one port.""") - gopts.var('vfb', val="type={vnc,sdl},vncunused=1,vncdisplay=N,vnclisten=ADDR,display=DISPLAY,xauthority=XAUTHORITY,vncpasswd=PASSWORD", fn=append_value, default=[], use="""Make the domain a framebuffer backend.
@@ -616,11 +611,6 @@ def configure_irq(config_devs, vals): for irq in vals.irq: config_irq = ['irq', ['irq', irq]] config_devs.append(['device', config_irq]) - -def configure_usb(config_devs, vals): - for path in vals.usbport: - config_usb = ['usbport', ['path', path]] - config_devs.append(['device', config_usb]) def configure_vfbs(config_devs, vals): for f in vals.vfb:
@@ -800,7 +790,6 @@ def make_config(vals): configure_ioports(config_devs, vals) configure_irq(config_devs, vals) configure_vifs(config_devs, vals) - configure_usb(config_devs, vals) configure_vtpm(config_devs, vals) configure_vfbs(config_devs, vals) configure_security(config, vals)
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel