|
|
|
|
|
|
|
|
|
|
xen-devel
[Xen-devel] [PATCH] stubdom: fix select after CDROM ejection
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>
diff -r c149cedf76b9 tools/ioemu/block-vbd.c
--- a/tools/ioemu/block-vbd.c Tue Mar 11 17:47:01 2008 +0000
+++ b/tools/ioemu/block-vbd.c Tue Mar 11 18:33:15 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-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- [Xen-devel] [PATCH] stubdom: fix select after CDROM ejection,
Samuel Thibault <=
|
|
|
|
|