qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [libvirt] libvirt doesn't work with qemu 1.0


From: Paolo Bonzini
Subject: Re: [Qemu-devel] [libvirt] libvirt doesn't work with qemu 1.0
Date: Thu, 26 Jan 2012 14:00:50 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:9.0) Gecko/20111222 Thunderbird/9.0

On 01/26/2012 01:46 PM, Eric Blake wrote:
> 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"}

What about both? :)

$ (sleep .1; echo $'{"execute":"qmp_capabilities"}\n{"execute":"quit"}') | \
  /usr/libexec/qemu-kvm -qmp stdio -S -nographic -nodefaults
{"QMP": {"version": {"qemu": {"micro": 1, "minor": 12, "major": 0}, "package": 
"(qemu-kvm-0.12.1.2)"}, "capabilities": []}}
{"return": {}}
{"return": {}}
{"timestamp": {"seconds": 1327582368, "microseconds": 685740}, "event": 
"SHUTDOWN"}

(I was a bit too terse, -nodefaults is a way to fix the error message,
not the whole mess).

Paolo



reply via email to

[Prev in Thread] Current Thread [Next in Thread]