[Top][All Lists]

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

[Qemu-discuss] virtio device instances identification by guest

From: Artem Pisarenko
Subject: [Qemu-discuss] virtio device instances identification by guest
Date: Thu, 8 Nov 2018 14:18:02 +0600

Hi everyone,

Is there are any way to make guest system able to identify specific
instances of virtio devices as specified by qemu user (on command line or
via qmp command)?
More specifically, I'm interested in virtio-net devices.
I know it's possible for some other devices:
- virtserialport/virtconsole have 'name=<name>' property and guest
application accesses serial device via "/dev/virtio-ports/<name>"
- virtio-9p-pci/virtfs have 'mount_tag=<mount_tag>' and guest
application mounts filesystem with "mount -t 9p -o trans=virtio <mount_tag>
But I cannot find any way to associate '-device virtio-net-pci' instances
with eth<X> network interfaces in guest.

Thanks in advance,

reply via email to

[Prev in Thread] Current Thread [Next in Thread]