Skip to contentSkip to conversation

vmware vga + kvm interaction

Qemu-devel Dave Airlie 3 participants 6 messages Dec 13, 2009 – Dec 15, 2009

lore
Share & tools
lore
#0 lore raw

If I boot an F12 LiveCD with vmware VGA without KVM enabled, I get the syslinux boot screen and can pick
options, the same qemu run with -enable-kvm, I just get a blank screen.

Anyone have any clues on why this might be?

all with latest git tree.
Dave.

#1 lore raw
Quoted 7 lines · Dave Airlie

If I boot an F12 LiveCD with vmware VGA without KVM enabled, I get the syslinux boot screen and can pick
options, the same qemu run with -enable-kvm, I just get a blank screen.

Anyone have any clues on why this might be?

One of the niceties of vmvga is that it accesses cpu registers in response to an I/O instruction. Maybe this bit is broken. Does your hw/vmport.c have cpu_synchronize_state() in vmport_ioport_read()?

Hmm, upstream doesn't, so no surprise it is broken.

Signature · 1 line
error compiling committee.c: too many arguments to function
#2 lore raw
Quoted 5 lines · Avi Kivity
Quoted 4 lines · Dave Airlie

If I boot an F12 LiveCD with vmware VGA without KVM enabled, I get the syslinux boot screen and can pick
options, the same qemu run with -enable-kvm, I just get a blank screen.

Quoted 7 lines
Quoted 3 lines

Anyone have any clues on why this might be?

One of the niceties of vmvga is that it accesses cpu registers in response to an I/O instruction. Maybe this bit is broken. Does your hw/vmport.c have cpu_synchronize_state() in vmport_ioport_read()?

Hmm, upstream doesn't, so no surprise it is broken.

vmware-vga does not use vmport.

The issue is about related to dirty tracking and how the vbe bios memory gets mapped. I've posted patches on the list before.

Regards,

Anthony Liguori

#3 lore raw
Quoted 16 lines · Anthony Liguori
Quoted 15 lines · Avi Kivity
Quoted 8 lines · Dave Airlie

If I boot an F12 LiveCD with vmware VGA without KVM enabled, I get the syslinux boot screen and can pick
options, the same qemu run with -enable-kvm, I just get a blank screen.

Anyone have any clues on why this might be?

One of the niceties of vmvga is that it accesses cpu registers in response to an I/O instruction.  Maybe this bit is broken.  Does your hw/vmport.c have cpu_synchronize_state() in vmport_ioport_read()?

Quoted 7 lines
Quoted 1 line

Hmm, upstream doesn't, so no surprise it is broken.

vmware-vga does not use vmport.

The issue is about related to dirty tracking and how the vbe bios memory gets mapped.  I've posted patches on the list before.

I actually reinvented at least one of the patches locally and it didn't seem to help,
but I'll try and take a closer look today,

Dave.

#4 lore raw
Quoted 4 lines · Dave Airlie

I actually reinvented at least one of the patches locally and it didn't seem to help,
but I'll try and take a closer look today,

http://repo.or.cz/w/qemu/aliguori-queue.git vmware-vga-for-dave

Is the local branch I have for vmware-vga work. I'm not sure why I never pushed those patches, but I suspect it's because I was still tracking down a bug. IIRC, this branch fixes things with -enable-kvm, but I'd usually see a SEGV in qemu about 1-2 minutes after getting into X. I don't think that has anything to do with kvm though.

Regards,

Anthony Liguori

Quoted 2 lines

Dave.

#5 lore raw
Quoted 7 lines · Anthony Liguori
Quoted 5 lines · Dave Airlie

I actually reinvented at least one of the patches locally and it didn't seem to help,
but I'll try and take a closer look today,

Quoted 8 lines

http://repo.or.cz/w/qemu/aliguori-queue.git vmware-vga-for-dave

Is the local branch I have for vmware-vga work.  I'm not sure why I never pushed those patches, but I suspect it's because I was still tracking down a bug.  IIRC, this branch fixes things with -enable-kvm, but I'd usually see a SEGV in qemu about 1-2 minutes after getting into X.  I don't think that has anything to do with kvm though.

Just to say me too, thats happening here alright, I just haven't had spare time to debug it yet.

Dave.