[Libguestfs] [PATCH] launch: show hint to resolve authentication failure from libvirt
Daniel P. Berrange
berrange at redhat.com
Thu Oct 11 11:13:07 UTC 2012
On Thu, Oct 11, 2012 at 01:10:16PM +0200, Olaf Hering wrote:
> olaf at stein-schneider:~> l /dev/kvm
> crw-rw---- 1 root kvm 10, 232 Okt 11 12:37 /dev/kvm
Ok, so suse has restricted permissions :-(
> olaf at stein-schneider:~> id
> uid=1000(olaf) gid=100(users) groups=100(users),33(video)
>
> However, adding 'olaf' into group 'kvm' does not help to run
> libguestfs-test-tool, its still a 'qemu' guest.
Did you login + logout and restart libvirtd after adding yourself
to the kvm group ?
> olaf at stein-schneider:~> virsh -c qemu:///session capabilities
> <capabilities>
>
> <host>
> <uuid>30826d35-f748-ac09-3792-1386d0a79891</uuid>
> <cpu>
> <arch>x86_64</arch>
> <model>Nehalem</model>
> <vendor>Intel</vendor>
> <topology sockets='1' cores='4' threads='2'/>
> <feature name='rdtscp'/>
> <feature name='dca'/>
> <feature name='pdcm'/>
> <feature name='xtpr'/>
> <feature name='tm2'/>
> <feature name='est'/>
> <feature name='vmx'/>
> <feature name='ds_cpl'/>
> <feature name='monitor'/>
> <feature name='dtes64'/>
> <feature name='pbe'/>
> <feature name='tm'/>
> <feature name='ht'/>
> <feature name='ss'/>
> <feature name='acpi'/>
> <feature name='ds'/>
> <feature name='vme'/>
> </cpu>
> <power_management>
> <suspend_disk/>
> </power_management>
> <migration_features>
> <live/>
> <uri_transports>
> <uri_transport>tcp</uri_transport>
> </uri_transports>
> </migration_features>
> <topology>
> <cells num='1'>
> <cell id='0'>
> <cpus num='8'>
> <cpu id='0'/>
> <cpu id='1'/>
> <cpu id='2'/>
> <cpu id='3'/>
> <cpu id='4'/>
> <cpu id='5'/>
> <cpu id='6'/>
> <cpu id='7'/>
> </cpus>
> </cell>
> </cells>
> </topology>
> <secmodel>
> <model>none</model>
> <doi>0</doi>
> </secmodel>
> </host>
>
> </capabilities>
This is peculiar - it doesn't show any QEMU guests at all.
What does 'virsh -c qemu:///system capabilities' report ?
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 :|
More information about the Libguestfs
mailing list