On Wed, Jun 22, 2011 at 03:34:35PM +0100, Richard W.M. Jones wrote:
As an aside, I can't seem to ever write to these 9p filesystems. I
just get -EPERM (or -EROFS if I used the ro option, but that is
understandable).
The filesystems stuff is not currently wired up into libvirt's
security driver relabelling code, since I'm kind of afraid of
recursively relabelling & setting ownership on entire directory
trees, in case the user does something crazy like passthrough
a major part of their root filesystem. So if you have selinux
involved, it'll deny access, and the files would need to be
made writable as 'qemu' too.
I'm not really sure on how to best deal with this yet.
Regards,
Daniel
--
|:
http://berrange.com -o-
http://www.flickr.com/photos/dberrange/ :|
|:
http://libvirt.org -o-
http://virt-manager.org :|
|:
http://autobuild.org -o-
http://search.cpan.org/~danberr/ :|
|:
http://entangle-photo.org -o-
http://live.gnome.org/gtk-vnc :|