[PATCH 0/3] Trivial fixes

Pushed as - wait for it - trivial. Andrea Bolognani (3): docs: Fix link to virt-qemu-run(1) qemu_shim: Fix typos qemu_shim: Update temporary directory template docs/manpages/index.rst | 2 +- src/qemu/qemu_shim.c | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) -- 2.24.1

Signed-off-by: Andrea Bolognani <abologna@redhat.com> --- docs/manpages/index.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/manpages/index.rst b/docs/manpages/index.rst index 2e71f81962..3624ae4e8f 100644 --- a/docs/manpages/index.rst +++ b/docs/manpages/index.rst @@ -19,7 +19,7 @@ Tools * `virt-login-shell(1) <virt-login-shell.html>`__ - tool to execute a shell within a container * `virt-admin(1) <virt-admin.html>`__ - daemon administration interface * `virsh(1) <virsh.html>`__ - management user interface -* `virt-qemu-run(1) <virt-qemu-run.html)`__ - run standalone QEMU instances +* `virt-qemu-run(1) <virt-qemu-run.html>`__ - run standalone QEMU instances Key codes ========= -- 2.24.1

Signed-off-by: Andrea Bolognani <abologna@redhat.com> --- src/qemu/qemu_shim.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/qemu/qemu_shim.c b/src/qemu/qemu_shim.c index ccdb4f6b5b..6c6029e232 100644 --- a/src/qemu/qemu_shim.c +++ b/src/qemu/qemu_shim.c @@ -263,7 +263,7 @@ int main(int argc, char **argv) conn, dom, VIR_DOMAIN_EVENT_ID_LIFECYCLE, VIR_DOMAIN_EVENT_CALLBACK(qemuShimDomShutdown), NULL, NULL) < 0) { - g_printerr("%s: cannot regiser for lifecycle events: %s\n", + g_printerr("%s: cannot register for lifecycle events: %s\n", argv[0], virGetLastErrorMessage()); goto cleanup; } @@ -285,7 +285,7 @@ int main(int argc, char **argv) goto cleanup; } if (verbose) - g_printerr("%s: %lld: guest running, Ctrl-C to stop nowbbbb\n", + g_printerr("%s: %lld: guest running, Ctrl-C to stop now\n", argv[0], deltams()); if (debug) { -- 2.24.1

The template still references libvirt-qemu-shim, which was at one point the name used to refer to what we now know as virt-qemu-run. Signed-off-by: Andrea Bolognani <abologna@redhat.com> --- src/qemu/qemu_shim.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/qemu/qemu_shim.c b/src/qemu/qemu_shim.c index 6c6029e232..07ae6eab90 100644 --- a/src/qemu/qemu_shim.c +++ b/src/qemu/qemu_shim.c @@ -151,7 +151,7 @@ int main(int argc, char **argv) signal(SIGHUP, qemuShimSigShutdown); if (root == NULL) { - if (!(root = g_dir_make_tmp("libvirt-qemu-shim-XXXXXX", &error))) { + if (!(root = g_dir_make_tmp("virt-qemu-run-XXXXXX", &error))) { g_printerr("%s: cannot create temporary dir: %s\n", argv[0], error->message); return 1; -- 2.24.1
participants (1)
-
Andrea Bolognani