about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorSilvino Silva <silvino@bk.ru>2018-02-23 14:08:42 +0000
committerSilvino Silva <silvino@bk.ru>2018-02-23 14:08:42 +0000
commitf1b8c0c4eefb21e655864b901b227f3af191e84d (patch)
tree94a1c08d4648de69762bfbb604220eb514b62aec
parent67bfaba4f9bb92031d6d174de1f8fcae6a37340d (diff)
downloaddoc-f1b8c0c4eefb21e655864b901b227f3af191e84d.tar.gz
tools qemu boot usb
-rw-r--r--tools/qemu.html22
1 files changed, 20 insertions, 2 deletions
diff --git a/tools/qemu.html b/tools/qemu.html
index f79b955..e9289f2 100644
--- a/tools/qemu.html
+++ b/tools/qemu.html
@@ -253,7 +253,7 @@
         <p>Set guests machines to run under the total resolution provided
         by  host system configure grub on the guest with gfxmode;</p>
 
-        <h3 id="guest">Guest Graphics</h3>
+        <h3 id="graphics">Guest Graphics</h3>
 
         <p>Get current resolution on host machine;</p>
 
@@ -298,11 +298,12 @@
         other="-soundhw hda -vga std -display sdl"
         </pre>
 
-        <h3 id="sound">Guest USB</h3>
+        <h3 id="usb">Guest USB</h3>
 
         <pre>
         # lsusb
         # ls /dev/v4l
+        # ls /dev/bus/usb
         </pre>
 
         <pre>
@@ -319,6 +320,23 @@
         mac="54:60:be:ef:5c:72"
         other="-soundhw hda -vga std -display sdl -usb -device usb-host,vendorid=0x13d3,productid=0x5652"
         </pre>
+
+        <h2 id="bootusb">Boot iso on usb</h2>
+
+        <pre>
+        # lsusb
+        # ls /dev/bus/usb
+        </pre>
+
+        <pre>
+        # chown root:kvm /dev/bus/usb/003/012
+        </pre>
+
+
+        <pre>
+        $ qemu-system-x86_64 -m 512 -enable-kvm -vnc :0 -usb  -device usb-host,hostbus=3,hostaddr=12
+        </pre>
+
         <a href="index.html">Tools Index</a>
         <p>This is part of the c9 Manual.
         Copyright (C) 2016