On 01/26/2012 02:41 AM, Paolo Bonzini wrote:
On 01/26/2012 04:55 AM, Eric Blake wrote:
>
> $ /usr/libexec/qemu-kvm -qmp stdio -S -display none
> qemu-kvm: -display: invalid option
> $ /usr/libexec/qemu-kvm -qmp stdio -S -nographic
> chardev: opening backend "stdio" failed
> qemu: could not open serial device 'stdio': Argument list too long
Have you tried -nodefaults?
Just did. It still spawns a VNC server.
$ (sleep .1; printf
'{"execute":"qmp_capabilities"}\n{"execute":"quit"}\n')
|\
/usr/libexec/qemu-kvm -qmp stdio -S -nodefaults
VNC server running on `127.0.0.1:5902'
{"QMP": {"version": {"qemu": {"micro": 1,
"minor": 12, "major": 0},
"package": "(qemu-kvm-0.12.1.2)"}, "capabilities": []}}
{"return": {}}
{"return": {}}
{"timestamp": {"seconds": 1327581922, "microseconds":
434736}, "event":
"SHUTDOWN"}
--
Eric Blake eblake(a)redhat.com +1-919-301-3266
Libvirt virtualization library
http://libvirt.org