Updated QemuXorriso wiki article for qemu-2.1.2

master
Thomas Schmitt 7 years ago
parent 674f572fc4
commit e51a00f000
  1. 27
      doc/qemu_xorriso.wiki

@ -10,7 +10,7 @@ Basic knowledge about Debian and qemu was learned from
[http://www.gnu.org/s/hurd/hurd/running/qemu.html GNU Hurd qemu page].
----------------------------------------------------------------------
This start command works with with qemu-1.0-rc3:
This start command works with qemu-1.0-rc3:
{{{
$ qemu \
@ -20,18 +20,32 @@ This start command works with with qemu-1.0-rc3:
-net nic,model=ne2k_pci \
-net user,hostfwd=tcp::5557-:22 \
-hda /dvdbuffer/i386-install.qemu \
-drive file=/dev/sr2,if=none,id=scsicd,format=raw \
-drive file=/dev/sr0,if=none,id=scsicd,format=raw \
-device virtio-blk-pci,drive=scsicd,logical_block_size=2048,physical_block_size=2048 \
-cdrom .../some_image.iso
}}}
With this setup of -drive and -device it is necessary to have a
This start command works with qemu-2.1.2:
{{{
$ qemu \
-enable-kvm \
-nographic \
-m 512 \
-net nic,model=ne2k_pci \
-net user,hostfwd=tcp::5557-:22 \
-hda /dvdbuffer/i386-install.qemu \
-cdrom .../some_image.iso \
-drive file=/dev/sr0,index=2,if=virtio
}}}
With these setups of -drive and -device it is necessary to have a
medium in the drive, when qemu gets started. Else it will refuse.
The guest system is accessible via ssh and scp at port 5557 of the
host system.
'''/dev/sr2''' is the address of the DVD drive which is handed over to the
'''/dev/sr0''' is the address of the DVD drive which is handed over to the
guest system.
'''.../some_image.iso''' may be any readable file which shall serve as
@ -50,8 +64,9 @@ system was installed by:
-boot d
}}}
Host system of my test is Debian GNU/Linux 6.0.2 amd64,
which had access to the Internet when the guest was installed.
Host system of my qemu-1.0-rc3 test is Debian GNU/Linux 6.0.2 amd64.
With qemu-2.1.2 it is Debian 8.1 amd64.
Both had access to the Internet when the guest was installed.
----------------------------------------------------------------------

Loading…
Cancel
Save