qemu-devel
[Top][All Lists]
Advanced

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

[Qemu-devel] [PATCH 3/3] virtio-net: revert MAC address workaround


From: Jesse Larrew
Subject: [Qemu-devel] [PATCH 3/3] virtio-net: revert MAC address workaround
Date: Tue, 4 Jun 2013 11:22:45 -0500

With a more permanent solution in place, the workaround in commit
e9016ee2bda1b7757072b856b2196f691aee3388 is no longer needed.

Signed-off-by: Jesse Larrew <address@hidden>
---
 hw/net/virtio-net.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/hw/net/virtio-net.c b/hw/net/virtio-net.c
index e09288f..c1c80aa 100644
--- a/hw/net/virtio-net.c
+++ b/hw/net/virtio-net.c
@@ -1325,7 +1325,7 @@ void virtio_net_set_config_size(VirtIONet *n, uint32_t 
host_features)
 {
     VirtIODevice *vdev = VIRTIO_DEVICE(n);
     int i, config_size = 0;
-    host_features |= (1 << VIRTIO_NET_F_MAC);
+
     for (i = 0; feature_sizes[i].flags != 0; i++) {
         if (host_features & feature_sizes[i].flags) {
             config_size = MAX(feature_sizes[i].end, config_size);
-- 
1.7.11.7




reply via email to

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