Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
virt-manager : pass through filesystem=>qemu no longer runs?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
eccerr0r
Watchman
Watchman


Joined: 01 Jul 2004
Posts: 9645
Location: almost Mile High in the USA

PostPosted: Fri Aug 30, 2013 2:23 pm    Post subject: virt-manager : pass through filesystem=>qemu no longer ru Reply with quote

OK, this is hard to pick a subforum for, but since it may be a kernel problem and we're dealing with virtual hardware...

I'm trying to run a virtual Gentoo system within a Gentoo system. To limit the number of copies of /usr/portage floating around, I'd like this guest to share the filesystem.

While I could use NFS. I was hoping to save a bit of CPU bandwidth passing data back and forth to the host, and use 9P...

When I setup a filesystem passthrough and try to start the VM, virt-manager waits for a second and then reports:

"Error starting domain: Unable to read
from monitor: Connection reset by peer"

which implies the underlying qemu didn't run. I didn't see any useful debug info in ~/.virt-manager/virt-manager.log ...

Removing this filesystem passthrough from the details pane allows QEMU to start up as before. Except I have no way to access the filesystem.

Questions:
1. Does the host need kernel 9P support along with the guest?
2. How can I get the command line virt-manager sends to qemu so I can manually run it and see the error messages?
3. Why isn't this working?
_________________
Intel Core i7 2700K/Radeon R7 250/24GB DDR3/256GB SSD
What am I supposed watching?
Back to top
View user's profile Send private message
eccerr0r
Watchman
Watchman


Joined: 01 Jul 2004
Posts: 9645
Location: almost Mile High in the USA

PostPosted: Fri Aug 30, 2013 6:50 pm    Post subject: Reply with quote

Found some answers, though I still haven't figured out question #2:

1. No, the host does not need 9P.
2. I still don't know how to get the command line it uses, but likely libvirt is calling qemu, not virt-manager
3. I forgot the USE flag USE=virtfs when building QEMU. This likely will cause the problem I'm seeing :oops:
_________________
Intel Core i7 2700K/Radeon R7 250/24GB DDR3/256GB SSD
What am I supposed watching?
Back to top
View user's profile Send private message
Haldir
Guru
Guru


Joined: 27 Sep 2002
Posts: 546

PostPosted: Sat Aug 31, 2013 4:51 pm    Post subject: Reply with quote

ps aux | grep -i qemu should give you the command line libvirt is using to start qemu.
Back to top
View user's profile Send private message
eccerr0r
Watchman
Watchman


Joined: 01 Jul 2004
Posts: 9645
Location: almost Mile High in the USA

PostPosted: Sat Aug 31, 2013 10:42 pm    Post subject: Reply with quote

There's a problem with that - when the qemu task dies right away! Then you can't grep for it unless there was a history for commands executed... ?
_________________
Intel Core i7 2700K/Radeon R7 250/24GB DDR3/256GB SSD
What am I supposed watching?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum