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@jp.fujitsu.com>
This commit is contained in:
kfraser@localhost.localdomain committed 2007-06-20 14:41:27 +01:00
1 parent d5efa0e4b7
commit a705b24a9d
1 file changed
+5
+5
View File
@@ -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'])
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.