Re: [PATCH 2/2] kvm tools: handle failure of command

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

 



On Wed, Aug 10, 2011 at 08:53:53AM +0300, Pekka Enberg wrote:
>On Wed, Aug 10, 2011 at 8:33 AM, walimis <walimisdev@xxxxxxxxx> wrote:
>>>>Yes. Because I'm using ubuntu and if I don't use sudo to execute
>>>>"kvm pause", pause command can't work and doesn't prompt anything.
>>>
>>>That's odd. I don't use sudo with the tool either. Sasha?
>> If I don't use sudo to run "kvm run", kvm prompt me:
>> 燜atal, could not open /dev/kvm: Permission denied
>
>You should probably just add yourself to the 'kvm' group:
>
>https://help.ubuntu.com/community/KVM/Installation
OK, that works for me to access /dev/kvm without sudo. Thanks.
But another sudo requirement is to use tap interface:
  Warning: Config tap device error. Are you root?

So how do you use tap interface in your environment?

walimis
>
>> So I use sudo to execute "kvm run".
>>>>BTW, do you always login as "root" user?
>>>
>>>Depends on which image you're using.
>> I don't refer to the guest image. I mean that in your host PC, which user
>> you login and operate as.
>
>Heh, I never login as 'root' to the host machine. :-)
>
>                        Pekka
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux