dom0/qvm-usb: Automatically create XS directory for USB devices
This commit is contained in:
parent
4e51aa2345
commit
f4422eae65
@ -34,12 +34,6 @@ In dom0, after each dom0 reboot:
|
||||
sudo ./install-pvusb-dom0.sh
|
||||
FIXME: merge the installer into some rpm
|
||||
|
||||
In dom0, after each usbvm reboot:
|
||||
usbvm_xid=`xl list | awk '($1=="usbvm"){print $2}'`
|
||||
xenstore-write /local/domain/${usbvm_xid}/qubes-usb-devices ''
|
||||
xenstore-chmod /local/domain/${usbvm_xid}/qubes-usb-devices n0 b${usbvm_xid}
|
||||
FIXME: some kind of hook in dom0?
|
||||
|
||||
In usbvm, after each reboot:
|
||||
sudo ./install-pvusb-backend.sh
|
||||
FIXME: convert the installer into "qubes-pvusb-backend" rpm?
|
||||
|
@ -9,4 +9,5 @@
|
||||
cp misc/xl-qvm-usb-attach.py /usr/lib/qubes/xl-qvm-usb-attach.py
|
||||
cp misc/xl-qvm-usb-detach.py /usr/lib/qubes/xl-qvm-usb-detach.py
|
||||
cp dom0/qvm-core/qubesutils.py /usr/lib64/python2.6/site-packages/qubes/qubesutils.py
|
||||
cp dom0/qvm-core/qubes.py /usr/lib64/python2.6/site-packages/qubes/qubes.py
|
||||
cp dom0/qvm-tools/qvm-usb /usr/bin/qvm-usb
|
||||
|
Loading…
Reference in New Issue
Block a user