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

Re: [Xen-devel] [PATCH v4 10/11] osstest: add a script to install Xen on FreeBSD hosts



On Wed, 2015-02-18 at 17:18 +0100, Roger Pau Monne wrote:

> +sub setupboot () {
> +    my $xenhopt = "dom0pvh=1";
> +
> +    my $cons= get_host_property($ho, 'XenSerialConsole', 'com1');
> +
> +    if ( $cons eq "com1" ) {
> +     $xenhopt .= " com1=$c{Baud},8n1 console=com1,vga gdb=com1";
> +    } elsif ( $cons eq "dtuart" ) {
> +     $xenhopt .= " console=dtuart";
> +     my $dtuart= get_host_property($ho, 'XenDTUARTPath', undef);
> +     $xenhopt .= " dtuart=$dtuart" if $dtuart;
> +    } else {
> +     logm("No Xen console device defined for host");
> +    }
> +    if (toolstack()->{Dom0MemFixed}) {
> +        $xenhopt .= " dom0_mem=2048M,max:2048M";
> +    }
> +    my $append= $r{xen_boot_append};
> +    $xenhopt .= " $append" if defined $append;
> +    $append = get_host_property($ho, 'xen-commandline-append', undef);
> +    $xenhopt .= " $append" if defined $append;

Perhaps some or all of this could be common with ts-xen-install?

> +    die "pci-passthrough is not supported" if 
> host_involves_pcipassthrough($ho);

If a host is passthrough capable does that imply that the current job is
going to use it? It seems the two hosts with a passthrough-* host flag
are gall-mite and itch-mite which are certainly used for other jobs.

I'm not sure how this can be dealt with, maybe Ian has an idea, or maybe
you can just defer until a FreeBSD w/ passthrough job is created, at
which point you would surely know what to write here.




_______________________________________________
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®.