[libvirt] [PATCH 11/20] qemumonitortestutils: Split lines on \n instead of \r\n

Eric Blake eblake at redhat.com
Tue Jul 30 16:27:15 UTC 2013


On 07/30/2013 07:05 AM, Peter Krempa wrote:
> The normal monitor uses windows line endings, where the agent monitor
> uses only newlines. Change this to tolerate both approaches and allow to
> use the utilities for guest agent tests.

"windows line endings" are also the proscribed line endings for use in
telnet; it's not an accident that the qemu monitor was designed to be
usable via a telnet connection, and I'm actually a bit surprised that
the qemu agent didn't follow suit.  Might be worth reporting this as an
upstream issue to the qemu list.

> ---
>  tests/qemumonitortestutils.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)

ACK.

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 621 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20130730/65ccdce3/attachment-0001.sig>


More information about the libvir-list mailing list