From 90cf656fe2c6f00081abcdadd5b3b9f1d5f9ddcf Mon Sep 17 00:00:00 2001 From: "Iain R. Learmonth" Date: Sun, 22 Jan 2017 16:36:40 +0000 Subject: [PATCH] Doc fix for attaching USB device to QEMU (Closes: #846632) --- doc/quickstart.rst | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/doc/quickstart.rst b/doc/quickstart.rst index cc2ae21..7c6ecb5 100644 --- a/doc/quickstart.rst +++ b/doc/quickstart.rst @@ -97,6 +97,18 @@ For EFI boot you will need to install the ``ovmf`` package and then run: qemu-system-x86_64 -bios /usr/share/ovmf/OVMF.fd -m 2G -cdrom live.iso +To test with an emulated USB device, run: + +.. code-block:: shell + + qemu-system-x86_64 -m 2G -usbdevice disk:live.iso + +.. note:: + + Using -hda to attach the disk image will prevent the installer from detecting + the "CD-ROM" as this is not a removable device, it is an emulated attached hard + disk drive. + Next Steps ----------