[elbe-devel] [PATCH 7/7] initvmaction: use systemwide libvirt instance

Torben Hohn torben.hohn at linutronix.de
Mon Apr 16 11:15:36 CEST 2018


On Fri, Apr 13, 2018 at 03:33:46PM +0200, John Ogness wrote:
> On 2018-04-13, Torben Hohn <torben.hohn at linutronix.de> wrote:
> > this change allows several users to share the initvm, because using
> > the same filesystem image with more than one user results in hard to
> > debug deadlocking problems with domain start and creation.
> >
> > due to soap tcp port conflicts, we can have a single initvm per host,
> > anyways, so we move it to the system libvirt.
> 
> The SOAP port can be configured. Running multiple initvm instances
> simultaneously on different ports is something that is used.
> 
> This is not an argument against moving to the system libvirt. I do not
> understand enough about libvirt to comment on that. Just please do not
> mention the SOAP port as your justification.

would this be more appropriate:

This move makes it necessary, that the initvm domain name is configured
to a different name, when more than one initvm shall be running on a
single host.

Due to soap tcp port conflicts, we need special configuration of SOAP
Ports already, so this just requires one more thing that needs to be
configured, when more than one initvm shall run on a single host.

---------------------------------------------------------------------
it might also be an option to derive the libvirt domain name from the
soap port. This would reduce config options, but is also not very
intuitive. I would prefer "initvm-torbenh" and "initvm-jogness" showing up
in "virsh list" over "initvm-5678" and friends.


-- 
Mit freundlichen Grüßen
Torben Hohn

Linutronix GmbH

Standort: Bremen

Phone: +49 7556 25 999 18; Fax.: +49 7556 25 999 99

Firmensitz / Registered Office: D-88690 Uhldingen, Bahnhofstr. 3
Registergericht / Local District Court: Amtsgericht Freiburg i. Br.; HRB
Nr. / Trade register no.: 700 806

Geschäftsführer / Managing Directors: Heinz Egger, Thomas Gleixner

Eine Bitte von uns: Sollten Sie diese E-Mail irrtümlich erhalten haben,
benachrichtigen Sie uns in diesem Falle bitte sobald wie es Ihnen
möglich ist, durch Antwort-Mail. Vielen Dank!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://lists.linutronix.de/pipermail/elbe-devel/attachments/20180416/dfa79b33/attachment.sig>


More information about the elbe-devel mailing list