Rich Freeman on 12 Oct 2015 09:52:25 -0700


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PLUG] Video link: "Virtualizing Bare-Metal Systems with QEMU" and meeting bookmarks


On Mon, Oct 12, 2015 at 12:09 PM, Steve Litt <slitt@troubleshooters.com> wrote:
> On Mon, 12 Oct 2015 10:40:56 -0400 (EDT)
> "Keith C. Perry" <kperry@daotechnologies.com> wrote:
>
>
>> I'm not sure how many people are familiar with how to use "mount
>> --bind".  It's one of the things I mentioned that was needed for one
>> the approaches to virtualizing a system (i.e. reinstalling boot
>> information) but was out of scope for the talk.
>
> Hi Keith,
>
> If you know of a way to bind mount a Qemu host directory within a Qemu
> guest, I'd really love to hear it. Right now I'm doing a sshfs to
> 10.0.2.2, but as you can imagine, it's slow as molassas.

That was what I was getting at with my question around bind mounts.
There are ways of mounting filesystems through qemu, but while they
might behave like bind mounts, they aren't actually bind mounts.
Within the guest you could certainly use bind mounts.

Bind-mounting from a host into a container isn't a problem since they
share the same kernel.  A VM does not use the same kernel as the host
(granted, with paravirtualization it gets a bit more fuzzy but the
same principles apply).

--
Rich
___________________________________________________________________________
Philadelphia Linux Users Group         --        http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion  --   http://lists.phillylinux.org/mailman/listinfo/plug