On Tue, 29 Mar 2016, Gustau Pérez wrote:
> > Hello,
> >
> > I've been on vacations last week and I'm trying to catch up with my email 
> > backlog, sorry for the delay in the reply.
> >
> > OTOH, George Dunlap from Citrix has posted the series that should enable 
> > hotplug scripts to work with HVM domains. I need to rebase my FreeBSD 
> > hotplug script support on top of it, so you can try it. George's series 
> > can be found at:
> >
> > http://lists.xenproject.org/archives/html/xen-devel/2016-03/msg02739.html
> >
> > I will try to rebase my work on top of this and provide you with a git 
> > branch so you can easily test it.
> >
> > Regarding your questions about the locking mechanism, I'm not that 
> > familiar with it, but I'm not sure why a lock array is need. AFAICT only 
> > one lock should be needed, that prevents multiple hotplug scripts from 
> > travessing the xenstore disk information at the same time. Please bring 
> > this question to xen-devel.
> >
> >> [1] http://pastebin.com/FhaQeuG1
> >> [2] http://pastebin.com/ZHWKRg5f
> > LGTM :). You will have to formally submit this as patches when the hotplug 
> > work is committed to upstream Xen.
> >
> 
>    Hi Roger,
> 
>    I've been checking the changes to eventually send them upstream and
> there are a bits that I thinkg you would also need to commit upstream
> before I can send mine. Those changes are in the sysutils/xen-tools port
> (I see those signed patches in the files/ directory but I can't find
> them in xenbits repo).
> 
>    I did the signed patch containing my changes [1], if you want to
> check it. I could add your changes, but I fear I may miss something
> along the way.

All the FreeBSD hotplug patches are quite close to being committed 
upstream, AFAIK they have all been already acked, and unless something 
goes wrong they will make it into the next release (4.7).

The only missing bits are the locking. ATM with my dummy disk hotplug 
script there's the risk of sharing the same image between guests in 
incompatible ways, but it's no worse that what we have right now. Probably 
early next week everything is going to be in the Xen repository, which 
means you could rebase your work on top of that and I will no longer be on 
the way of you adding a iSCSI hotplug script :).

Roger.
_______________________________________________
freebsd-xen@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-xen
To unsubscribe, send any mail to "freebsd-xen-unsubscr...@freebsd.org"

Reply via email to