[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v3 1/5] virtio_net: Add VIRTIO_NET_F_STANDBY fea
From: |
Dongli Zhang |
Subject: |
Re: [Qemu-devel] [PATCH v3 1/5] virtio_net: Add VIRTIO_NET_F_STANDBY feature bit. |
Date: |
Wed, 9 Jan 2019 00:56:38 +0800 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.3.0 |
I am not familiar with libvirt and I would like to play with this only with
qemu.
With failover, we need to hotplug the VF on destination server to VM after live
migration. However, the VF on destination server would have different mac
address.
How can we specify the mac for the new VF to hotplug via qemu, as VF is only a
vfio pci device?
I am trying to play with this with only qemu (w/o libvirt).
Thank you very much!
Dongli Zhang
On 01/08/2019 06:29 AM, Venu Busireddy wrote:
> From: Sridhar Samudrala <address@hidden>
>
> This feature bit can be used by a hypervisor to indicate to the virtio_net
> device that it can act as a standby for another device with the same MAC
> address.
>
> Signed-off-by: Sridhar Samudrala <address@hidden>
> Signed-off-by: Venu Busireddy <address@hidden>
> ---
> hw/net/virtio-net.c | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/hw/net/virtio-net.c b/hw/net/virtio-net.c
> index 385b1a0..411f8fb 100644
> --- a/hw/net/virtio-net.c
> +++ b/hw/net/virtio-net.c
> @@ -2198,6 +2198,8 @@ static Property virtio_net_properties[] = {
> true),
> DEFINE_PROP_INT32("speed", VirtIONet, net_conf.speed, SPEED_UNKNOWN),
> DEFINE_PROP_STRING("duplex", VirtIONet, net_conf.duplex_str),
> + DEFINE_PROP_BIT64("standby", VirtIONet, host_features,
> VIRTIO_NET_F_STANDBY,
> + false),
> DEFINE_PROP_END_OF_LIST(),
> };
>
>
- [Qemu-devel] [PATCH v3 0/5] Support for datapath switching during live migration, Venu Busireddy, 2019/01/07
- [Qemu-devel] [PATCH v3 1/5] virtio_net: Add VIRTIO_NET_F_STANDBY feature bit., Venu Busireddy, 2019/01/07
- Re: [Qemu-devel] [PATCH v3 1/5] virtio_net: Add VIRTIO_NET_F_STANDBY feature bit.,
Dongli Zhang <=
- Re: [Qemu-devel] [PATCH v3 1/5] virtio_net: Add VIRTIO_NET_F_STANDBY feature bit., Venu Busireddy, 2019/01/08
- Re: [Qemu-devel] [PATCH v3 1/5] virtio_net: Add VIRTIO_NET_F_STANDBY feature bit., Dongli Zhang, 2019/01/08
- Re: [Qemu-devel] [PATCH v3 1/5] virtio_net: Add VIRTIO_NET_F_STANDBY feature bit., Samudrala, Sridhar, 2019/01/08
- Re: [Qemu-devel] [PATCH v3 1/5] virtio_net: Add VIRTIO_NET_F_STANDBY feature bit., Dongli Zhang, 2019/01/08
- Re: [Qemu-devel] [PATCH v3 1/5] virtio_net: Add VIRTIO_NET_F_STANDBY feature bit., Michael S. Tsirkin, 2019/01/08
[Qemu-devel] [PATCH v3 5/5] pci: query command extension to check the bus master enabling status of the failover-primary device, Venu Busireddy, 2019/01/07
[Qemu-devel] [PATCH v3 3/5] virtio_net: Add a query command for FAILOVER_STANDBY_CHANGED event., Venu Busireddy, 2019/01/07
[Qemu-devel] [PATCH v3 2/5] virtio_net: Add support for "Data Path Switching" during Live Migration., Venu Busireddy, 2019/01/07