When I run qemu -cpu kvm64 -snapshot -hda binary.img at a local console, the image boots and runs as I expect. However, when I log in via ssh -C -X, I see:
$ qemu -cpu kvm64 -snapshot -hda binary.img
open /dev/kvm: Permission denied
Could not initialize KVM, will disable KVM support
qemu: pci_add_option_rom: failed to find romfile "pxe-rtl8139.bin"
(The pxe-rtl8139 message is there when run locally as well, it doesn't seem to matter.)
Why does using SSH make a difference? How can I run qemu over SSH without needing root permissions?
Both machines are Ubuntu 11.10, qemu and qemu-kvm are 0.14.1+noroms-0ubuntu6.2

id– bodhi.zazen Mar 5 '12 at 4:34/dev/kvmis ownedroot:kvmandidsaysuid=1000(jason) gid=1000(jason) groups=1000(jason),4(adm),20(dialout),24(cdrom),46(plugdev),116(lpadmin),118(admin),124(sambashare)– detly Mar 5 '12 at 4:36