qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] Re: [PATCH 6/8] x86_64 config: fix compile for CONFIG_VGA_I


From: Paolo Bonzini
Subject: [Qemu-devel] Re: [PATCH 6/8] x86_64 config: fix compile for CONFIG_VGA_ISA=n
Date: Thu, 13 Jan 2011 18:02:33 +0100
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.13) Gecko/20101209 Fedora/3.1.7-0.35.b3pre.fc14 Lightning/1.0b3pre Mnenhy/0.8.3 Thunderbird/3.1.7

On 01/13/2011 07:34 AM, David Ahern wrote:
Signed-off-by: David Ahern<address@hidden>
---
  hw/pc.c |    2 ++
  1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/hw/pc.c b/hw/pc.c
index e7514fd..11b570f 100644
--- a/hw/pc.c
+++ b/hw/pc.c
@@ -1087,8 +1087,10 @@ void pc_vga_init(PCIBus *pci_bus)
      } else if (std_vga_enabled) {
          if (pci_bus) {
              pci_vga_init(pci_bus);
+#ifdef CONFIG_VGA_ISA
          } else {
              isa_vga_init();
+#endif

Should this be an abort for #ifndef CONFIG_VGA_ISA? And maybe the isapc machine should be disabled altogether?

Paolo



reply via email to

[Prev in Thread] Current Thread [Next in Thread]