|
|
|
|
|
|
|
|
|
|
xen-changelog
[Xen-changelog] [xen-unstable] stubdom: fix select calls after CDROM eje
# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1205839694 0
# Node ID b543b4b759ba87289105e99559425272edfb5b40
# Parent 14b2319d6126c60d775d13e84c8482dcd1b55eae
stubdom: fix select calls after CDROM ejection
by calling qemu_set_fd_handler before closing the fd.
Signed-off-by: Samuel Thibault <samuel.thibault@xxxxxxxxxxxxx>
---
tools/ioemu/block-vbd.c | 1 +
1 files changed, 1 insertion(+)
diff -r 14b2319d6126 -r b543b4b759ba tools/ioemu/block-vbd.c
--- a/tools/ioemu/block-vbd.c Tue Mar 18 11:27:36 2008 +0000
+++ b/tools/ioemu/block-vbd.c Tue Mar 18 11:28:14 2008 +0000
@@ -271,6 +271,7 @@ static void vbd_close(BlockDriverState *
BDRVVbdState *s = bs->opaque;
bs->total_sectors = 0;
if (s->fd >= 0) {
+ qemu_set_fd_handler(s->fd, NULL, NULL, NULL);
close(s->fd);
s->fd = -1;
}
_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- [Xen-changelog] [xen-unstable] stubdom: fix select calls after CDROM ejection,
Xen patchbot-unstable <=
|
|
|
|
|