On Wed, Aug 10, 2011 at 09:35:12AM +0300, Pekka Enberg wrote: >On Wed, Aug 10, 2011 at 9:12 AM, walimis <walimisdev@xxxxxxxxx> wrote: >> 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? > >I don't use it. We enable userspace networking by default so all you >need to do in the guest is to make sure dhcp is enabled and you should >have a working network setup. Does that not work for you? I used to use tap to enable network for guest os, so that I can mount nfs rootfs. meanwhile, I can access the guest os from host os through the network. For kvm tools, I don't know how to do that through userspace networking. Maybe we need a brief explanation in README. walimis > > 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