Hi
I built 2.6.27.10 kernel with KVM configured as built-in.
CONFIG_HAVE_KVM=y
CONFIG_VIRTUALIZATION=y
CONFIG_KVM=y
CONFIG_KVM_INTEL=y
I built qemu-kvm 0.12.2 from sources pointing to above kernel. When I spawn a VM, it hangs at boot. Pl see below. I copied qemu-kvm binary and bios, vga etc binaries. I installed grub on a manually created img file. This image has nothing but grub, its stage1,1_5,stage2, my kernel and initrd files.
Am spawning VM as below:
qemu-system-x86_64 -hda vmhd.img -L . -curses -show-cursor
grub> root (hd0,0)
Filesystem type is ext2fs, partition type 0x83
grub> kernel /boot/vmos root=/dev/ram0 ramdisk_size=32768 rw single
[Linux-bzImage, setup=0x1800,
size=0x1cb9b0]
grub> initrd /boot/initrdfs.gz
[Linux-initrd @ 0x6751000, 0x189b587 bytes]
grub> boot
I copied all these binaries from my dev host to this linux box.
-rw-r--r-- 1 root root 131072 May 2 21:31 bios.bin
-rw-r--r-- 1 root root 1025 May 2 21:31 linuxboot.bin
-rw-r--r-- 1 root root 1024 May 2 21:31 multiboot.bin
-rw-r--r-- 1 root root 524288 May 2 21:31 ppc_rom.bin
-rw-r--r-- 1 root root 72192 May 2 21:31 pxe-e1000.bin
-rw-r--r-- 1 root root 56832 May 2 21:31 pxe-i82559er.bin
-rw-r--r-- 1 root root 56320 May 2 21:31 pxe-ne2k_pci.bin
-rw-r--r-- 1 root root 56832 May 2 21:31 pxe-pcnet.bin
-rw-r--r-- 1 root root 56320 May 2 21:31 pxe-rtl8139.bin
-rw-r--r-- 1 root root 56320 May 2 21:31 pxe-virtio.bin
-rwxr-xr-x 1 root
root 8960 May 2 21:31 vapic.bin
-rw-r--r-- 1 root root 35840 May 2 21:31 vgabios-cirrus.bin
-rw-r--r-- 1 root root 39936 May 2 21:31 vgabios.bin
Appreciate your help.
From: Anthony Liguori <address@hidden>
To: Gerhard Wiesinger <address@hidden>
Cc: address@hidden; Gerd Hoffmann <address@hidden>
Sent: Tue, May 4, 2010 6:32:50 AM
Subject: Re: [Qemu-devel] Problem with QEMU on
KVM
On 05/04/2010 12:09 AM, Gerhard Wiesinger wrote:
> On Sat, 24 Apr 2010, Gerhard Wiesinger wrote:
>>> Guess problems comes from the following commit (not yet verified):
>>> commit 37c34d9d5d87ea9d51760310c8863b82cb8c055a
>>> Author: Anthony Liguori <
address@hidden>
>>> Date: Wed Mar 10 09:38:29 2010 -0600
>>>
>>> input: make vnc use mouse mode notifiers
>>>
>>> When we switch to absolute mode, we send out a notification (if the client
>>> supports it). Today, we only send this notification when the client sends us
>>> a mouse event and we're in the wrong mode.
>>>
>>> Signed-off-by: Anthony Liguori <
address@hidden>
>>
>>
>> Ok, verified:
>> git revert -n 37c34d9d5d87ea9d51760310c8863b82cb8c055a
>> => works well.
>
> Still got no feedback and saw no further changes to fix this problem.
Fix is on the list.
Regards,
Anthony Liguori
> Thnx.
>
> Ciao,
> Gerhard
>
> -- http://www.wiesinger.com/>