Skip to contentSkip to conversation

X-Window under Mac OSX

Qemu-devel Loreley Giraudon 3 participants 3 messages Nov 26, 2012 1 message not in the archive

lore
Share & tools
lore
#0 lore raw

Hello,

im trying to initiate the following command:

kvm -hda mysql.img -m 256 -monitor stdio -cdrom debian-6.0.5-amd64-netinst.iso -boot d open /dev/kvm: Permission denied

But i receive the following error message:

Could not initialize KVM, will disable KVM support
QEMU 0.12.5 monitor - type 'help' for more information
(qemu) unknown keycodes `empty_aliases(qwerty)', please report to [email protected]

Can you tell me why?

#1 lore raw

Hello,

Am 26.11.2012 02:31, schrieb Loreley Giraudon:

Quoted 6 lines

im trying to initiate the following command:

kvm -hda mysql.img -m 256 -monitor stdio -cdrom debian-6.0.5-amd64-netinst.iso -boot d open /dev/kvm: Permission denied

Quoted 7 lines

But i receive the following error message:

Could not initialize KVM, will disable KVM support
QEMU 0.12.5 monitor - type 'help' for more information
(qemu) unknown keycodes `empty_aliases(qwerty)', please report to [email protected]

Can you tell me why?

Can you tell us where you got a "kvm" binary for Mac OS X? QEMU does not ship such a thing, it builds qemu-system-x86_64 etc. binaries and the latest version is v1.3.0-rc0.

Regards,
Andreas

A message that is not in the archive (sent off-list or not yet received): [email protected]

#3 lore raw

Am 26.11.2012 19:11, schrieb Loreley Giraudon:

Quoted 35 lines
Quoted 15 lines · On Nov 26, 2012, at 7:02 AM, Andreas Färber <[email protected]…

Am 26.11.2012 02:31, schrieb Loreley Giraudon:

Quoted 14 lines

im trying to initiate the following command:

kvm -hda mysql.img -m 256 -monitor stdio -cdrom
debian-6.0.5-amd64-netinst.iso -boot d
open /dev/kvm: Permission denied

But i receive the following error message:

Could not initialize KVM, will disable KVM support
QEMU 0.12.5 monitor - type 'help' for more information (qemu) unknown keycodes `empty_aliases(qwerty)', please report to [email protected] <mailto:[email protected]>

Quoted 5 lines
Quoted 1 line

Can you tell me why?

Can you tell us where you got a "kvm" binary for Mac OS X? QEMU does not ship such a thing, it builds qemu-system-x86_64 etc. binaries and the latest version is v1.3.0-rc0.

Im currently following the below instructions.

1) DEBIAN SQEEZE - Create a disk image to install to (this one is 10GB large):

qemu-img create -f qcow2 winxp.img 10G

2) DEBIAN SQEEZE - Perform an installation to the VM (need to be in an X session):

Quoted 7 lines

kvm -hda winxp.img -m 1024 -monitor stdio -cdrom winxp-installer.iso
-boot d

3) MAC OSX - Run the newly installed VM (need to be in an X session):

kvm -hda winxp.img -m 1024 -monitor stdio

Then your problem is not "under Mac OSX" at all but under Debian! CC'ing a Debian maintainer.

You may need to modprobe the correct AMD or Intel KVM kernel module. If that fails, your hardware may not support virtualization or the BIOS has it disabled. Could also be a permissions issue, sudo might help.

Warnings about keycodes can usually just be ignored.

Andreas

P.S. Please don't top-post, avoid HTML mails and keep the mailing list cc'ed so that others can answer as well - especially when you're using distro packages.

Signature · 2 lines
SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany
GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer; HRB 16746 AG Nürnberg