]> rtime.felk.cvut.cz Git - jailhouse.git/commitdiff
documentation: reflect qemu-vm change in LJ article
authorValentine Sinitsyn <valentine.sinitsyn@gmail.com>
Wed, 27 May 2015 17:58:17 +0000 (22:58 +0500)
committerJan Kiszka <jan.kiszka@siemens.com>
Sun, 7 Jun 2015 17:05:38 +0000 (19:05 +0200)
With recent qemu-vm.cell, the 9p device is expected at a specific
PCI address. Update QEMU startup command in Linux Journal article
to reflect this.

Reported-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Valentine Sinitsyn <valentine.sinitsyn@gmail.com>
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Documentation/articles/LJ-article-04-2015.txt

index 39d1086a9eabc28a0cd3bf091971722c48421b30..6564595b1991633eee104b3ca1ef481245882dc1 100644 (file)
@@ -175,7 +175,8 @@ same kernel on the host and inside QEMU. Now, run the virtual machine as
 qemu-system-x86_64 -machine q35 -m 1G -enable-kvm -smp 4 \
  -cpu kvm64,-kvm_pv_eoi,-kvm_steal_time,-kvm_asyncpf,-kvmclock,+vmx,+x2apic \
  -drive file=LinuxInstallation.img,id=disk,if=none \
- -virtfs local,path=/path/to/jailhouse,security_model=passthrough,mount_tag=host \
+ -fsdev local,path=/path/to/jailhouse,security_model=passthrough,id=vfs \
+ -device virtio-9p-pci,addr=1f.7,mount_tag=host,fsdev=vfs \
  -device ide-hd,drive=disk -serial stdio -serial file:com2.txt
 
 Note we enabled 9p (-virtfs) to access the host filesystem from QEMU