From: Sam Leonard Date: Thu, 26 Oct 2023 13:03:59 +0000 (+0100) Subject: vmspawn: update man page to include vsock options X-Git-Tag: v255-rc2~62^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F29783%2Fhead;p=thirdparty%2Fsystemd.git vmspawn: update man page to include vsock options --- diff --git a/man/systemd-vmspawn.xml b/man/systemd-vmspawn.xml index 4ca6f1a74fd..69193af931e 100644 --- a/man/systemd-vmspawn.xml +++ b/man/systemd-vmspawn.xml @@ -34,6 +34,8 @@ systemd-vmspawn may be used to start a virtual machine from an OS image. In many ways it is similar to systemd-nspawn1, but it launches a full virtual machine instead of using namespaces. + + Note: on Ubuntu/Debian derivatives systemd-vmspawn requires the user to be in the kvm group to use the VSock options. @@ -83,37 +85,77 @@ - - + + BOOL - Configures whether to use KVM. If the option is not specified KVM support will be - detected automatically. If true, KVM is always used, and if false, KVM is never used. + Configures whether to use KVM. If the option is not specified KVM support will be + detected automatically. If true, KVM is always used, and if false, KVM is never used. - - + + - - + + BOOL - Start QEMU in graphical mode. + + Configure whether to use VSock networking. + If the option is not specified VSock support will be detected automatically. + If yes is specified VSocks are always used, and vice versa if no is set VSocks are never used. + + + - - + + CID - - + + Configure vmspawn to use a specific CID for the guest. + If the option is not specified or an empty argument is supplied the guest will be assigned a random CID. + Valid CIDs are in the range 3 to 4294967294 (0xFFFF_FFFE). + CIDs outside of this range are reserved. + + + - Configures whether to search for firmware which supports secure boot. If the option - is not specified, the first firmware which is detected will be used. If true, then the first - firmware with secure boot support will be selected. If false, then the first firmware without - secure boot will be selected. + + - + Start QEMU in graphical mode. + + + + + + BOOL + + Configure whether to search for firmware which supports Secure Boot. + If the option is not specified the first firmware which is detected will be used. + If the option is set to yes then the first firmware with Secure Boot support will be selected. + If no is specified then the first firmware without Secure Boot will be selected. + + + + + + + System Identity Options + + + + + + + Sets the machine name for this container. This + name may be used to identify this container during its runtime + (for example in tools like + machinectl1 + and similar). + + - - + Credentials @@ -135,8 +177,7 @@ - - + Other @@ -166,6 +207,7 @@ $ systemd-vmspawn --image=image.raw Exit status If an error occurred the value errno is propagated to the return code. + If EXIT_STATUS is supplied by the running image that is returned. Otherwise EXIT_SUCCESS is returned. diff --git a/man/version-info.xml b/man/version-info.xml index 836d47e95b8..5dabf9d31a6 100644 --- a/man/version-info.xml +++ b/man/version-info.xml @@ -77,4 +77,5 @@ Added in version 253. Added in version 254. Added in version 255. + Added in version 256.