Re: [libvirt PATCH 1/6] qemu_alias: introduce qemuDomainGetVhostUserAlias helper

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

 



On a Tuesday in 2021, Pavel Hrdina wrote:
Signed-off-by: Pavel Hrdina <phrdina@xxxxxxxxxx>
---
src/qemu/qemu_alias.c   | 6 ++++++
src/qemu/qemu_alias.h   | 2 ++
src/qemu/qemu_command.c | 8 +++++---
3 files changed, 13 insertions(+), 3 deletions(-)

diff --git a/src/qemu/qemu_alias.c b/src/qemu/qemu_alias.c
index b3492d6e85..57b56b9ded 100644
--- a/src/qemu/qemu_alias.c
+++ b/src/qemu/qemu_alias.c
@@ -868,3 +868,9 @@ qemuDomainGetDBusVMStateAlias(void)
{
    return "dbus-vmstate0";
}
+
+char *
+qemuDomainGetVhostUserAlias(const char *devalias)

Something like VhostUserChrAlias would be more fitting.

But that's just internal naming that can be changed later.

+{
+    return g_strdup_printf("chr-vu-%s", devalias);
+}

Attachment: signature.asc
Description: PGP signature


[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux