Red Hat Bugzilla – Bug 492958
xen driver serial mode 'unix' sexpr is not built correctly
Last modified: 2011-03-17 10:24:51 EDT
Created attachment 337249 [details]
patch for qemu-dm via xend to allow for unix-domain-socket serial files
Description of problem:
Per XML spec:
This should be allowed:
<source mode="bind" path="/path/to/serial"/>
The xend log reports for the "qemu-dm" command it is using:
[..., '-serial', 'unix:/path/to/serial,listen', ...]
the "listen" part is not valid, it should be ",server,nowait"
like is currently specified in qemu_conf.c
A similar patch to the one applied to qemu_conf.c need to be applied to xend_internal.c also.
I will attach the patch (diff from git trunk).
Version-Release number of selected component (if applicable):
git trunk (all versions?)
Steps to Reproduce:
1. Create any XEN DomU via Libvirt with Unix Domain Socket for serial
DomU fails to start, with DM error logged to /var/log/xen/qemu-dm.<name>.log
DomU starts and creates Unix Domain Socket at specified path.
This code has completely changed upstream, but still seems to have the error in xenDaemonFormatSxprChr.
Upstream since last year: