dom0/qvm-usb: Automatically create XS directory for USB devices

This commit is contained in:
Alexandre Bezroutchko 2012-10-17 01:17:52 +02:00
parent 4e51aa2345
commit f4422eae65
2 changed files with 1 additions and 6 deletions

View File

@ -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?

View File

@ -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