qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] vmware vga + kvm interaction
@ 2009-12-13  8:55 Dave Airlie
  2009-12-13 10:50 ` Avi Kivity
  0 siblings, 1 reply; 6+ messages in thread
From: Dave Airlie @ 2009-12-13  8:55 UTC (permalink / raw)
  To: qemu-devel

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.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [Qemu-devel] vmware vga + kvm interaction
  2009-12-13  8:55 [Qemu-devel] vmware vga + kvm interaction Dave Airlie
@ 2009-12-13 10:50 ` Avi Kivity
  2009-12-13 17:59   ` Anthony Liguori
  0 siblings, 1 reply; 6+ messages in thread
From: Avi Kivity @ 2009-12-13 10:50 UTC (permalink / raw)
  To: Dave Airlie; +Cc: qemu-devel

On 12/13/2009 10:55 AM, Dave Airlie wrote:
> 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.

-- 
error compiling committee.c: too many arguments to function

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [Qemu-devel] vmware vga + kvm interaction
  2009-12-13 10:50 ` Avi Kivity
@ 2009-12-13 17:59   ` Anthony Liguori
  2009-12-13 20:00     ` Dave Airlie
  0 siblings, 1 reply; 6+ messages in thread
From: Anthony Liguori @ 2009-12-13 17:59 UTC (permalink / raw)
  To: Avi Kivity; +Cc: Dave Airlie, qemu-devel

Avi Kivity wrote:
> On 12/13/2009 10:55 AM, Dave Airlie wrote:
>> 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.
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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [Qemu-devel] vmware vga + kvm interaction
  2009-12-13 17:59   ` Anthony Liguori
@ 2009-12-13 20:00     ` Dave Airlie
  2009-12-14 14:28       ` Anthony Liguori
  0 siblings, 1 reply; 6+ messages in thread
From: Dave Airlie @ 2009-12-13 20:00 UTC (permalink / raw)
  To: Anthony Liguori; +Cc: Avi Kivity, qemu-devel

On Mon, Dec 14, 2009 at 3:59 AM, Anthony Liguori <anthony@codemonkey.ws> wrote:
> Avi Kivity wrote:
>>
>> On 12/13/2009 10:55 AM, Dave Airlie wrote:
>>>
>>> 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.
>
> 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.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [Qemu-devel] vmware vga + kvm interaction
  2009-12-13 20:00     ` Dave Airlie
@ 2009-12-14 14:28       ` Anthony Liguori
  2009-12-15  1:33         ` Dave Airlie
  0 siblings, 1 reply; 6+ messages in thread
From: Anthony Liguori @ 2009-12-14 14:28 UTC (permalink / raw)
  To: Dave Airlie; +Cc: Avi Kivity, qemu-devel

Dave Airlie wrote:
> 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
> Dave.
>   

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [Qemu-devel] vmware vga + kvm interaction
  2009-12-14 14:28       ` Anthony Liguori
@ 2009-12-15  1:33         ` Dave Airlie
  0 siblings, 0 replies; 6+ messages in thread
From: Dave Airlie @ 2009-12-15  1:33 UTC (permalink / raw)
  To: Anthony Liguori; +Cc: Avi Kivity, qemu-devel

On Tue, Dec 15, 2009 at 12:28 AM, Anthony Liguori <anthony@codemonkey.ws> wrote:
> Dave Airlie wrote:
>>
>> 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.
>

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

Dave.

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2009-12-15  1:33 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-12-13  8:55 [Qemu-devel] vmware vga + kvm interaction Dave Airlie
2009-12-13 10:50 ` Avi Kivity
2009-12-13 17:59   ` Anthony Liguori
2009-12-13 20:00     ` Dave Airlie
2009-12-14 14:28       ` Anthony Liguori
2009-12-15  1:33         ` Dave Airlie

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).