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

Re: [Xen-devel] [PATCH OSSTEST] stubdom: Arrange for guest serial to go to a host logfile



Ian Campbell writes ("[PATCH OSSTEST] stubdom: Arrange for guest serial to go 
to a host logfile"):
> By pointing the serial port at 'file:/var/log/dm-serial.log' it will
> end up on mini-os's console and therefore in
> /var/log/xen/qemu-dm-$guest.log.
...
> -     $cfg .= "serial='pty'\n";
> +     # MINI-OS turns any open of a path starting /var/log/ into a
> +     # fd pointing to mini-os's console. IOW any such path used
> +     # here ends up in the host logs in /var/log/xen/qemu-dm-$guest.log
> +     $cfg .= "serial='file:/var/log/dm-serial.log'\n";

Wow.

Acked-by: Ian Jackson <ian.jackson@xxxxxxxxxxxxx>

Thanks for digging into this.

Ian.

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

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