diff mbox

virtio-blk/qdev failure in the current git tree

Message ID 4A840B4E.7050801@redhat.com
State Superseded
Headers show

Commit Message

Gerd Hoffmann Aug. 13, 2009, 12:47 p.m. UTC
On 08/13/09 11:00, Avi Kivity wrote:
>> Where were the irq routing trouble fixes in qemu-kvm? Was it fixes in
>> the BIOS?
>
> I think so, but not 100% sure.

Lets start with the attached fix.  bochs build system doesn't compile 
the dsdt.  Which implies that the patches in pc-bios/bios-pq/ which 
change the dsdt have no effect at all.

cheers,
   Gerd
From 6f50c206451bd8454ba0c1ec72728257946de65c Mon Sep 17 00:00:00 2001
From: Gerd Hoffmann <kraxel@redhat.com>
Date: Thu, 13 Aug 2009 14:33:11 +0200
Subject: [PATCH 2/2] actually compile dsdt

---
 bios/Makefile.in |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

Comments

Anthony Liguori Aug. 13, 2009, 1:15 p.m. UTC | #1
Gerd Hoffmann wrote:
> On 08/13/09 11:00, Avi Kivity wrote:
>>> Where were the irq routing trouble fixes in qemu-kvm? Was it fixes in
>>> the BIOS?
>>
>> I think so, but not 100% sure.
>
> Lets start with the attached fix.  bochs build system doesn't compile 
> the dsdt.  Which implies that the patches in pc-bios/bios-pq/ which 
> change the dsdt have no effect at all.

When I rebuild the bios locally, I manually change this in the generated 
Makefile.

But I'm going to merge a git submodule for bochs bios today into the 
tree.  The Makefile in that tree already has this bit removed.

Regards,

Anthony Liguori
Gerd Hoffmann Aug. 13, 2009, 1:38 p.m. UTC | #2
On 08/13/09 15:15, Anthony Liguori wrote:
> Gerd Hoffmann wrote:
>> On 08/13/09 11:00, Avi Kivity wrote:
>>>> Where were the irq routing trouble fixes in qemu-kvm? Was it fixes in
>>>> the BIOS?
>>>
>>> I think so, but not 100% sure.
>>
>> Lets start with the attached fix. bochs build system doesn't compile
>> the dsdt. Which implies that the patches in pc-bios/bios-pq/ which
>> change the dsdt have no effect at all.
>
> When I rebuild the bios locally, I manually change this in the generated
> Makefile.

Hmm, strange.  With the patch applied on top of the others I get a 
working bios when building according to the instructions in 
pc-bios/README.  The prebuild bios.bin doesn't work for me though.

cheers,
   Gerd
diff mbox

Patch

diff --git a/bios/Makefile.in b/bios/Makefile.in
index 28ada75..7d8a65a 100644
--- a/bios/Makefile.in
+++ b/bios/Makefile.in
@@ -103,13 +103,11 @@  rombios32.out: rombios32start.o rombios32.o rombios32.ld
 rombios32.o: rombios32.c acpi-dsdt.hex
 	$(GCC32) -O2 -Wall -c -o $@ $<
 
-ifeq ("1", "0")
 acpi-dsdt.hex: acpi-dsdt.dsl
 	cpp -P $< $<.i
 	iasl -tc -p $@ $<.i
 	rm $<.i
 	sed -i -e's/^unsigned/const unsigned/' $@
-endif
 
 rombios32start.o: rombios32start.S
 	$(GCC32) -c -o $@ $<