]> git.proxmox.com Git - mirror_qemu.git/commit - qga/commands-win32.c
qemu-ga-win: Fail loudly on bare 'set-time'
authorMichal Privoznik <mprivozn@redhat.com>
Wed, 21 Jan 2015 11:09:50 +0000 (12:09 +0100)
committerMichael Roth <mdroth@linux.vnet.ibm.com>
Tue, 17 Feb 2015 22:21:50 +0000 (16:21 -0600)
commitee17cbdc3c21f5cb6144a434191ffcd08b7de5fe
tree39f66ec29b5502b15fd39ad3c09d96f1eb66213c
parent0dd38a03f5e1498aabf7d053a9fab792a5eeec5c
qemu-ga-win: Fail loudly on bare 'set-time'

The command is not implemented correctly yet. The documentation allows
to not pass any value to set, in which case the time is re-read from
RTC. However, reading CMOS on Windows is not trivial to implement. So
instead of pretending we've set the correct time, fail explicitly.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
qga/commands-win32.c
qga/qapi-schema.json