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

Re: [Xen-devel] [PATCH][VT] Fix vnc configure problem for vmx guest



Ewan Mellor wrote:
On Fri, Sep 23, 2005 at 11:12:26PM +0800, Ling, Xiaofeng wrote:


see attach mail. That is why configVNC is seperated.
I know this fix is not seems so ideal, I'd like to know if you have good idea for the problem.


Thanks for that.  I've had a look, and I don't see any reason for ImageHandler
to be created before the domain itself, so I've moved the ImageHandler.create
call so that it is after the xc.domain_create call.  This means that you have
the domid available inside configVNC, as necessary.

The change will be pushed to the public server in the next few minutes.  Let
me know how you get on.

Yes, moving ImageGandler.create after domain create resolves the problem. but I guess the original purpose of putting ImageHandler.create after domain creating maybe if ImageHanler.ceate fails(some configuration wrong), there'll be no useless domain struct exists.
So I seperates the configVNC and put it after the domain creating.
Maybe better way is have a pre-config and post-config?


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.