dom0+vm/qvm-usb: cosmetic: removed debugging code, adjusted fixmes
This commit is contained in:
parent
c71e52a471
commit
ca57a67fd0
@ -8,7 +8,7 @@
|
||||
## running in dom0.
|
||||
##
|
||||
|
||||
# FIXME: Ignore USB hubs and other wierd devices.
|
||||
# FIXME: Ignore USB hubs and other wierd devices (see also in usb_remove).
|
||||
[ "$DEVNUM" = "001" ] && exit 0
|
||||
[ "$DEVTYPE" != "usb_device" ] && exit 0
|
||||
|
||||
|
@ -18,8 +18,9 @@ if len(frontend)!=2:
|
||||
|
||||
backend=sys.argv[4]
|
||||
|
||||
# FIXME command injection
|
||||
# FIXME: command injection
|
||||
os.system("xenstore-write /local/domain/%s/backend/vusb/%s/%s/port/%s %s"
|
||||
% (backend, domain, controller, port, device))
|
||||
|
||||
# FIXME: should this happen in the backend domain?
|
||||
vusb_util.bind_usb_device(device)
|
||||
|
Loading…
Reference in New Issue
Block a user