Skip to contentSkip to conversation

KVM call agenda for Oct 26

PATCH In review Juan Quintela 8 participants 11 messages Oct 25, 2010 – Oct 26, 2010

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

Please send in any agenda items you are interested in covering.

Cheers, Juan.

#2 lore raw
In reply to Juan Quintela
Quoted 2 lines · Juan Quintela

Please send in any agenda items you are interested in covering.

0.13.1

At least two fatal issues:
- vmmouse is broken
- assertion failure in block layer

Signature · 1 line
error compiling committee.c: too many arguments to function
#3 lore raw
Quoted 9 lines · Avi Kivity
Quoted 2 lines · Juan Quintela

Please send in any agenda items you are interested in covering.

0.13.1

At least two fatal issues:
- vmmouse is broken
- assertion failure in block layer

There's actually a fair bit. I'm hoping to also get the hotplug fixes because tose are pretty important IMHO. I don't want to wait too long though.

What's the assertion in the block layer?

Regards,

Anthony Liguori

#4 lore raw
Quoted 5 lines · Anthony Liguori
Quoted 4 lines · Avi Kivity
Quoted 2 lines · Juan Quintela

Please send in any agenda items you are interested in covering.

Quoted 7 lines
Quoted 5 lines

0.13.1

At least two fatal issues:
- vmmouse is broken
- assertion failure in block layer

There's actually a fair bit. I'm hoping to also get the hotplug fixes because tose are pretty important IMHO. I don't want to wait too long though.

Also, a new seabios for the SCI level triggered fix.

Quoted 2 lines

What's the assertion in the block layer?

https://bugzilla.redhat.com/show_bug.cgi?id=646538

This is qemu-img, so maybe not so critical. I confused this with a runtime assertion failure in the block layer, for which a fix was merged post rc3.

Signature · 1 line
error compiling committee.c: too many arguments to function
#5 lore raw
Quoted 8 lines · Avi Kivity
Quoted 7 lines · Anthony Liguori
Quoted 6 lines · Avi Kivity
Quoted 2 lines · Juan Quintela

Please send in any agenda items you are interested in covering.

0.13.1

Quoted 7 lines
Quoted 5 lines
Quoted 3 lines

At least two fatal issues:
- vmmouse is broken
- assertion failure in block layer

There's actually a fair bit. I'm hoping to also get the hotplug fixes because tose are pretty important IMHO. I don't want to wait too long though.

Also, a new seabios for the SCI level triggered fix.

You mean:

commit 6d5a2172f2b76900572107868ec080400c4f615d

Author: Kevin O'Connor <[email protected]>
Date:   Wed Oct 20 21:59:11 2010 -0400

mark irq9 active high in DSDT

In PIIX4 SCI (irq9) is active high. Seabios marks it so in interrupt override table, but some OSes (FreeBSD) require the same information to be present in DSDT too. Make it so.

If so, what's the impact of it not being there? I wanted to stick to 0.6.1 for stable-0.13, updating to a git snapshot is going to pull a lot of things in that would be better to avoid for stable. We can talk to Kevin about a stable branch but I'd like to understand what the real impact here is first.

Regards,

Anthony Liguori

Quoted 7 lines
Quoted 2 lines

What's the assertion in the block layer?

https://bugzilla.redhat.com/show_bug.cgi?id=646538

This is qemu-img, so maybe not so critical. I confused this with a runtime assertion failure in the block layer, for which a fix was merged post rc3.

#6 lore raw
Quoted 27 lines · Anthony Liguori
Quoted 12 lines · Avi Kivity
Quoted 11 lines · Anthony Liguori
Quoted 9 lines · Avi Kivity
Quoted 2 lines · Juan Quintela

Please send in any agenda items you are interested in covering.

0.13.1

At least two fatal issues:
- vmmouse is broken
- assertion failure in block layer

Quoted 5 lines
Quoted 3 lines

There's actually a fair bit. I'm hoping to also get the hotplug fixes because tose are pretty important IMHO. I don't want to wait too long though.

Also, a new seabios for the SCI level triggered fix.

You mean:

commit 6d5a2172f2b76900572107868ec080400c4f615d

Author: Kevin O'Connor <[email protected]>
Date:   Wed Oct 20 21:59:11 2010 -0400

mark irq9 active high in DSDT

Quoted 7 lines

In PIIX4 SCI (irq9) is active high. Seabios marks it so in interrupt override table, but some OSes (FreeBSD) require the same information to be present in DSDT too. Make it so.

If so, what's the impact of it not being there? I wanted to stick

Power down from qemu monitor does not work for FreeBSD.

Quoted 19 lines

to 0.6.1 for stable-0.13, updating to a git snapshot is going to pull a lot of things in that would be better to avoid for stable. We can talk to Kevin about a stable branch but I'd like to understand what the real impact here is first.

Regards,

Anthony Liguori

Quoted 9 lines
Quoted 2 lines

What's the assertion in the block layer?

https://bugzilla.redhat.com/show_bug.cgi?id=646538

This is qemu-img, so maybe not so critical. I confused this with a runtime assertion failure in the block layer, for which a fix was merged post rc3.

Quoted 4 lines

--
To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

--
Gleb.

#7 lore raw

PATCH 1/1 qcow2: Fix segfault when qcow2 preallocate fails

In reply to Avi Kivity

When an image is created with -o preallocate, ensure that we only call preallocate() if the image was indeed opened successfully. Also use bdrv_delete() instead of bdrv_close() to avoid leaking the BlockDriverState structure.

This fixes the segfault reported at
https://bugzilla.redhat.com/show_bug.cgi?id=646538.

---
Here's a fix for the segfault.

 block/qcow2.c |    8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)
block/qcow2.c +5 -3
index ee3481b..0fceb0d 100644
@@ -1059,9 +1059,11 @@ exit:
         BlockDriverState *bs;
         BlockDriver *drv = bdrv_find_format("qcow2");
         bs = bdrv_new("");
-        bdrv_open(bs, filename, BDRV_O_CACHE_WB | BDRV_O_RDWR, drv);
-        ret = preallocate(bs);
-        bdrv_close(bs);
+        ret = bdrv_open(bs, filename, BDRV_O_CACHE_WB | BDRV_O_RDWR, drv);
+        if (ret == 0) {
+            ret = preallocate(bs);
+        }
+        bdrv_delete(bs);
     }
 
     return ret;
Signature · 1 line
1.7.1
#8 lore raw

Re: [PATCH] qcow2: Fix segfault when qcow2 preallocate fails

Am 26.10.2010 15:23, schrieb Stefan Hajnoczi:

Quoted 9 lines

When an image is created with -o preallocate, ensure that we only call preallocate() if the image was indeed opened successfully. Also use bdrv_delete() instead of bdrv_close() to avoid leaking the BlockDriverState structure.

This fixes the segfault reported at
https://bugzilla.redhat.com/show_bug.cgi?id=646538.

Looks good for stable-0.13. In master we'll have the new qcow_create2 implementation as soon as Anthony pulls, so it doesn't apply there.

Kevin

#9 lore raw

Re: [PATCH] qcow2: Fix segfault when qcow2 preallocate fails

Quoted 6 lines · Kevin Wolf

Am 26.10.2010 15:23, schrieb Stefan Hajnoczi:

Quoted 5 lines

When an image is created with -o preallocate, ensure that we only call preallocate() if the image was indeed opened successfully.  Also use bdrv_delete() instead of bdrv_close() to avoid leaking the BlockDriverState structure.

Quoted 7 lines
Quoted 4 lines

This fixes the segfault reported at
https://bugzilla.redhat.com/show_bug.cgi?id=646538.

Looks good for stable-0.13. In master we'll have the new qcow_create2 implementation as soon as Anthony pulls, so it doesn't apply there.

I forgot about that :). Thanks Kevin.

Stefan