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

Re: [Xen-devel] [OSSTEST PATCH 2/2] Nested hosts: Use hostnamepath() in create_webfile

On Mon, 2015-11-16 at 15:20 +0000, Ian Jackson wrote:
> create_webfile needs a pathname in the shared public-html directory.
> These paths need to be (a) stable (b) unique across all running jobs.
> We achieve this by basing the filenames on the hostname and (for a
> guest) the guest name.
> But for an L2 guest we need to include the physical host name too,
> because the L1 `host' is not unique.
> Fix this by using hostnamepath(), replacing the open-coded single
> iteration.
> Reported-by: Ian Campbell <ian.campbell@xxxxxxxxxx>
> CC: Robert Ho <robert.hu@xxxxxxxxx>
> Signed-off-by: Ian Jackson <Ian.Jackson@xxxxxxxxxxxxx>

Acked-by: Ian Campbell <ian.campbell@xxxxxxxxxx>

Xen-devel mailing list



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