[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAOJsxLGm+Qd132i2c7q9p1_yweLiRzC4GR0-Xmx79m2==4_FAw@mail.gmail.com>
Date: Sun, 21 Oct 2012 18:39:40 +0300
From: Pekka Enberg <penberg@...nel.org>
To: richard -rw- weinberger <richard.weinberger@...il.com>
Cc: Ingo Molnar <mingo@...nel.org>,
Christoph Hellwig <hch@...radead.org>,
Dave Airlie <airlied@...il.com>,
Borislav Petkov <bp@...en8.de>,
Stephen Rothwell <sfr@...b.auug.org.au>,
Linus Torvalds <torvalds@...ux-foundation.org>,
Andrew Morton <akpm@...ux-foundation.org>,
Avi Kivity <avi@...hat.com>, linux-kernel@...r.kernel.org,
Asias He <asias.hejun@...il.com>,
Sasha Levin <levinsasha928@...il.com>,
Cyrill Gorcunov <gorcunov@...nvz.org>
Subject: Re: [GIT PULL] Linux KVM tool for v3.7-rc0
On Sun, Oct 21, 2012 at 2:59 PM, Ingo Molnar <mingo@...nel.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@...il.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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists