|
|
|
|
|
|
|
|
|
|
xen-changelog
[Xen-changelog] [xen-unstable] hvm: Ensure ioemu sees media-change event
# HG changeset patch
# User kfraser@xxxxxxxxxxxxxxxxxxxxx
# Date 1182346887 -3600
# Node ID 63077ce6a7dc729d8aac1564b8dc032289e2d905
# Parent ea52a66e43a8b11084563a418995294d3dbff018
hvm: Ensure ioemu sees media-change events even when media filename
remains constant my writing a dummy blank string first.
Signed-off-by: Takanori Kasai <kasai.takanori@xxxxxxxxxxxxxx>
---
tools/python/xen/xend/server/blkif.py | 5 +++++
1 files changed, 5 insertions(+)
diff -r ea52a66e43a8 -r 63077ce6a7dc tools/python/xen/xend/server/blkif.py
--- a/tools/python/xen/xend/server/blkif.py Wed Jun 20 14:36:11 2007 +0100
+++ b/tools/python/xen/xend/server/blkif.py Wed Jun 20 14:41:27 2007 +0100
@@ -98,6 +98,11 @@ class BlkifController(DevController):
if (dev_type == 'cdrom' and new_front['device-type'] == 'cdrom' and
dev == new_back['dev'] and mode == 'r'):
+ # dummy device
+ self.writeBackend(devid,
+ 'type', new_back['type'],
+ 'params', '')
+ # new backend-device
self.writeBackend(devid,
'type', new_back['type'],
'params', new_back['params'])
_______________________________________________
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] hvm: Ensure ioemu sees media-change events even when media filename,
Xen patchbot-unstable <=
|
|
|
|
|