Messages in this thread | | | Date | Sun, 21 Oct 2012 18:39:40 +0300 | Subject | Re: [GIT PULL] Linux KVM tool for v3.7-rc0 | From | Pekka Enberg <> |
| |
On Sun, Oct 21, 2012 at 2:59 PM, Ingo Molnar <mingo@kernel.org> wrote: >> You are wrong on three counts: >> >> - As I mentioned it in my first mail to you this is not the >> same as 'vm run': you still have a qemu-root.img while >> tools/kvm does not ... >> >> 'vm run' works without having any disk image around, it just >> uses the existing distro binaries and boots them, sharing the >> host file system. >> >> - automatic, transparent host filesystem sharing is another >> useful feature: I can copy files in/out of the virtual >> machine using the host filesystem. >> >> - transparent networking is up and running straight away
On Sun, Oct 21, 2012 at 5:02 PM, richard -rw- weinberger <richard.weinberger@gmail.com> wrote: > qemu supports all these features. > E.g. to access the host fs use: > qemu ... \ > -fsdev local,security_model=passthrough,id=fsdev-root,path=/your/root/,readonly > \ > -device virtio-9p-pci,id=fs-root,fsdev=fsdev-root,mount_tag=rootshare
IIRC, QEMU uses SLIRP non-root zero-config networking which is much more limited than what LKVM offers out of the box.
Using host system rootfs is not quote as simple as you seem to think so you need something like Alexander Graf's shell script for comparable 'vm run' experience.
Pekka
| |