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.jack...@eu.citrix.com>

Thanks for digging into this.

Ian.

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

Reply via email to