lkml.org 
[lkml]   [2012]   [Oct]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [GIT PULL] Linux KVM tool for v3.7-rc0
From
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


\
 
 \ /
  Last update: 2012-10-21 18:01    [W:0.075 / U:1.716 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site