WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] http://www.fsmware.com/xenofreebsd/ dead?

> The current version of xenofreebsd has, to the best of my knowledge,
> fixes for all those bugs. Let me know if you still have problems. I
> don't know any way to make "reboot" work from inside the guest.

I'm not sure I quite understood what you meant, so apologies if this is old 
news to you.  From the arch reboot code, you can call:

HYPERVISOR_sched_op(SCHEDOP_shutdown | (SHUTDOWN_reboot << 
SCHEDOP_reasonshift))

Which will cause Xend to destroy your domain and then rebuild it.  Similarly, 
you can notify when you want to halt and when you want to explicitly crash.

Cheers,
Mark

> > "xm shutdown freebsd" does nothing,
> > but this is a missing feature, not a bug, right?
>
> More of a missing feature. I've never wanted "xm shutdown", so I never
> thought about it.
>
> > I hope i manage to compile a more recent xenofreebsd kernel before it
> > crashes again ;)
>
> I don't have 2.0.5 tree, otherwise I'd build you one.
>
>      -Kip
>
> > /nils.
> >
> > ps: anybody got a _simple_ /etc/xen/freebsd? This works for me -  more
> > or less:
> >
> >   kernel  = "/boot/xenU/freebsd-5.3-xendemo-2.0.5"
> >   memory  = 64
> >   name    = "freebsd"
> >   nics    = 1
> >   vif     = [ 'mac=FE:FD:00:DE:AD:11' ]
> >   disk    = [ 'file:/home/xen/images/freebsd-5.3-
> > xendemo-2.0.5.test.slice,hda1,w' ]
> >   extra   = ",vfs.root.mountfrom=ufs:/dev/xbd0a"
> >   restart = 'onreboot'
> >
> >
> > _______________________________________________
> > Xen-devel mailing list
> > Xen-devel@xxxxxxxxxxxxxxxxxxx
> > http://lists.xensource.com/xen-devel
>
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-devel

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