[et-mgmt-tools] virt-manager 0.3.0 can't see inactive vms?
Daniel P. Berrange
berrange at redhat.com
Fri Feb 23 12:16:22 UTC 2007
On Fri, Feb 23, 2007 at 09:10:59AM +0000, Mark Cave-Ayland wrote:
> On Thu, 2007-02-15 at 11:58 +0000, Daniel P. Berrange wrote:
>
> > > Another quick couple of questions: firstly is there a way to bypass
> > > "Open Connection" dialog on startup so that it assumes that the default
> > > "Local Xen Host" is selected? I can see the -C option for a URI but
> > > can't see a way to specify the equivalent of "Local Xen Host" on the
> > > command line?
> >
> > virt-manager --connect Xen
> >
> > Will do the trick IIRC.
>
>
> Actually, I've just found out this doesn't work. I've finally got around
> to creating a menu entry in Ubuntu which reads: "gksu virt-manager
> --connect Xen" and when selected, it does bypass the selection dialog
> and go straight to the list of virtual machines. However, when I try and
> start my Windows XP virtual machine, nothing happens!
>
> I eventually tried running "virt-manager --connect Xen" directly and got
> the following message on the console: "libvir: Domain error winxp:
> operation virDomainCreate forbidden for read only access". However, if I
> I just execute "virt-manager" and select "Local host" and hit "Connect",
> then I can start the VMs fine.
>
> The only conclusion I can come to is that if you specify "--connect Xen"
> on the command line for virt-manager that it behaves the same as if you
> tick the "Read only" checkbox in the "Open Connection" dialog. Am I
> right in thinking this is a bug?
Looking at the code, that is indeed true. I'll see about fixing that.
In fact I think I'll probably remove the 'read only' checkbox from the
dialog too, and have virt-manager automatically try a full read write
connection, falling back to read only when doing Xen as non-root.
Dan.
--
|=- Red Hat, Engineering, Emerging Technologies, Boston. +1 978 392 2496 -=|
|=- Perl modules: http://search.cpan.org/~danberr/ -=|
|=- Projects: http://freshmeat.net/~danielpb/ -=|
|=- GnuPG: 7D3B9505 F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 -=|
More information about the et-mgmt-tools
mailing list