Message ID | 20230929085121.848482-3-pavel.dovgalyuk@ispras.ru (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | Record/replay patches | expand |
diff --git a/hw/net/virtio-net.c b/hw/net/virtio-net.c index 50156e8002..eb50b7e030 100644 --- a/hw/net/virtio-net.c +++ b/hw/net/virtio-net.c @@ -3603,6 +3603,10 @@ static void virtio_net_device_realize(DeviceState *dev, Error **errp) n->host_features |= (1ULL << VIRTIO_NET_F_MTU); } + if (n->host_features & (1ULL << VIRTIO_NET_F_GUEST_ANNOUNCE)) { + replay_add_blocker("-device virtio-net-device,guest_announce=true"); + } + if (n->net_conf.duplex_str) { if (strncmp(n->net_conf.duplex_str, "half", 5) == 0) { n->net_conf.duplex = DUPLEX_HALF;