pty: unbreak libvirt
authorGerd Hoffmann <kraxel@redhat.com>
Thu, 3 Jan 2013 13:23:03 +0000 (14:23 +0100)
committerAnthony Liguori <aliguori@us.ibm.com>
Thu, 3 Jan 2013 18:53:41 +0000 (12:53 -0600)
commit25bbf61e4bacd1e4fa4115ffcf151051b9d6608e
treefffbe222fd1442dea3094270c67779209782d3a6
parentef4929fb3c25e03deca76c7f5d22fba08edf864f
pty: unbreak libvirt

Commit 586502189edf9fd0f89a83de96717a2ea826fdb0 breaks libvirt pty
support because it tried to figure the pts name from stderr output.

Fix this by moving the label to the end of the line, this way the
libvirt parser does still recognise the message.  libvirt looks
for "char device redirected to ${ptsname}<whitespace>".

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
qemu-char.c