All of lore.kernel.org
 help / color / mirror / Atom feed
From: Anthony Liguori <anthony@codemonkey.ws>
To: qemu-devel@nongnu.org, Glauber Costa <glommer@redhat.com>
Subject: Re: [Qemu-devel] start qemu failed with --enable-kvm -vga std
Date: Wed, 08 Apr 2009 08:12:16 -0500	[thread overview]
Message-ID: <49DCA2B0.2040509@codemonkey.ws> (raw)
In-Reply-To: <fb7465350904072011r6e30db95y20c274c88cc9a29c@mail.gmail.com>

Peng Huang wrote:
> Hi,
>
> The HEAD version qemu can not execute a VM with --enable-kvm -vga std 
> or -vga vmware on kernel 2.6.29.1-46.fc11.x86_64. I found it is 
> because of qemu call cpu_register_physical_memory with a wrong size. 
> Below patch can fix it on my box. Please test it.

Glauber came up with a similar patch for kvm-userspace and is currently 
attempting to root cause the issue.

Regards,

Anthony Liguori

> Regards,
> Peng Huang
>  
>
> diff --git a/hw/pc.c b/hw/pc.c
> index f9cfd1f..7775c7b 100644
> --- a/hw/pc.c
> +++ b/hw/pc.c
> @@ -876,7 +876,7 @@ vga_bios_error:
>              exit(1);
>          }
>         /* Round up vga bios size to the next 2k boundary */
> -       vga_bios_size = (vga_bios_size + 2047) & ~2047;
> +       vga_bios_size = (vga_bios_size + 4095) & ~4095;
>         option_rom_start = 0xc0000 + vga_bios_size;
>  
>          /* setup basic memory access */
>

  parent reply	other threads:[~2009-04-08 13:12 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-04-08  3:11 [Qemu-devel] start qemu failed with --enable-kvm -vga std Peng Huang
2009-04-08 12:27 ` Paul Brook
2009-04-08 13:12 ` Anthony Liguori [this message]
2009-04-08 13:25   ` Glauber Costa
2009-04-08 16:34     ` [Qemu-devel] " Jan Kiszka
2009-04-08 16:41       ` Glauber Costa
2009-04-08 17:02         ` Jan Kiszka
2009-04-08 17:06           ` Glauber Costa
2009-04-08 17:20             ` Jan Kiszka
2009-04-08 17:23               ` Glauber Costa
2009-04-08 17:25               ` Glauber Costa
2009-04-08 17:39                 ` M. Warner Losh
2009-04-08 17:44                   ` Glauber Costa
2009-04-08 17:57                     ` M. Warner Losh
2009-04-08 17:47                   ` Paul Brook
2009-04-08 18:07                     ` Glauber Costa
2009-04-08 18:58                 ` Anthony Liguori
2009-04-08 18:57               ` Anthony Liguori
2009-04-08 19:03                 ` Glauber Costa
2009-04-08 17:31       ` Paul Brook

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=49DCA2B0.2040509@codemonkey.ws \
    --to=anthony@codemonkey.ws \
    --cc=glommer@redhat.com \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.