[Fedora-xen] The console is currently unavailable / vnc port = -1 [FIXED]
Richard W.M. Jones
rjones at redhat.com
Tue Apr 3 15:52:42 UTC 2007
Richard W.M. Jones wrote:
> <graphics type='vnc' port='-1'/>
This was fixed by the following patch applied to libvirt. Note however
that this patch _only_ applies if you are running Fedora Core 6, because
the PVFB stuff was back-ported by Red Hat.
I also had to reboot the machine after recompiling everything.
Rich.
diff -u -r1.68 xml.c
--- src/xml.c 21 Mar 2007 15:24:56 -0000 1.68
+++ src/xml.c 3 Apr 2007 15:49:18 -0000
@@ -625,7 +625,7 @@
/* Is a graphics device specified? */
/* Old style config before merge of PVFB */
- if (xendConfigVersion < 3) {
+ if (xendConfigVersion < 2) {
obj = xmlXPathEval(BAD_CAST "/domain/devices/graphics[1]", ctxt);
if ((obj != NULL) && (obj->type == XPATH_NODESET) &&
(obj->nodesetval != NULL) && (obj->nodesetval->nodeNr > 0)) {
@@ -1161,7 +1161,7 @@
xmlXPathFreeObject(obj);
/* New style PVFB config - 3.0.4 merge */
- if (xendConfigVersion >= 3 && !hvm) {
+ if (xendConfigVersion >= 2 && !hvm) {
obj = xmlXPathEval(BAD_CAST "/domain/devices/graphics", ctxt);
if ((obj != NULL) && (obj->type == XPATH_NODESET) &&
(obj->nodesetval != NULL) && (obj->nodesetval->nodeNr >= 0)) {
--
Emerging Technologies, Red Hat http://et.redhat.com/~rjones/
64 Baker Street, London, W1U 7DF Mobile: +44 7866 314 421
Registered Address: Red Hat UK Ltd, Amberley Place, 107-111 Peascod
Street, Windsor, Berkshire, SL4 1TE, United Kingdom.
Registered in England and Wales under Company Registration No. 3798903
Directors: Michael Cunningham (USA), Charlie Peters (USA) and David
Owens (Ireland)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3237 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://listman.redhat.com/archives/fedora-xen/attachments/20070403/c08e8734/attachment.bin>
More information about the Fedora-xen
mailing list