[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] Enable the ejection of the physical cdrom tray, when user enters
# HG changeset patch # User kaf24@xxxxxxxxxxxxxxxxxxxx # Node ID a5a50f6fbc0982aa256c8fc29bbdfe88e14abc6f # Parent d4e433d615b04f4bbb61f240a3813a8fdb50d1f2 Enable the ejection of the physical cdrom tray, when user enters "eject cdrom" in the control console of a VMX guest. Signed-Off-By: Nitin A Kamble <nitin.a.kamble@xxxxxxxxx> diff -r d4e433d615b0 -r a5a50f6fbc09 tools/ioemu/monitor.c --- a/tools/ioemu/monitor.c Fri Mar 10 16:32:04 2006 +++ b/tools/ioemu/monitor.c Sat Mar 11 09:44:48 2006 @@ -407,6 +407,7 @@ static void do_eject(int force, const char *filename) { + char cmd[1024]; BlockDriverState *bs; bs = bdrv_find(filename); @@ -415,6 +416,9 @@ return; } eject_device(bs, force); + sprintf(cmd, "eject %s", filename); + system(cmd); + } static void do_change(const char *device, const char *filename) _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |