Blame SOURCES/kvm-e1000-Fix-tso_props-compat-for-82540em.patch

1bdc94
From bddd766e9d3109a4dfd6f099edf8f5870a24bbf1 Mon Sep 17 00:00:00 2001
1bdc94
From: "Dr. David Alan Gilbert" <dgilbert@redhat.com>
1bdc94
Date: Thu, 26 Jul 2018 16:40:11 +0200
1bdc94
Subject: [PATCH 11/15] e1000: Fix tso_props compat for 82540em
1bdc94
1bdc94
RH-Author: Dr. David Alan Gilbert <dgilbert@redhat.com>
1bdc94
Message-id: <20180726164011.21660-2-dgilbert@redhat.com>
1bdc94
Patchwork-id: 81522
1bdc94
O-Subject: [RHEL-7.6 qemu-kvm-rhev PATCH v2 1/1] e1000: Fix tso_props compat for 82540em
1bdc94
Bugzilla: 1608778
1bdc94
RH-Acked-by: Laszlo Ersek <lersek@redhat.com>
1bdc94
RH-Acked-by: Eduardo Habkost <ehabkost@redhat.com>
1bdc94
RH-Acked-by: Juan Quintela <quintela@redhat.com>
1bdc94
RH-Acked-by: Xiao Wang <jasowang@redhat.com>
1bdc94
1bdc94
From: "Dr. David Alan Gilbert" <dgilbert@redhat.com>
1bdc94
1bdc94
In RHEL when you ask for an e1000-82540em that's the device you get,
1bdc94
however in upstream it's aliased to an e1000.
1bdc94
Because of the difference, we need to change the compat entry
1bdc94
for migrate_tso_props to the base type that changes e1000 as well.
1bdc94
1bdc94
Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
1bdc94
Signed-off-by: Miroslav Rezanina <mrezanin@redhat.com>
1bdc94
---
1bdc94
 include/hw/compat.h | 5 +++--
1bdc94
 1 file changed, 3 insertions(+), 2 deletions(-)
1bdc94
1bdc94
diff --git a/include/hw/compat.h b/include/hw/compat.h
1bdc94
index 5802e61..5804853 100644
1bdc94
--- a/include/hw/compat.h
1bdc94
+++ b/include/hw/compat.h
1bdc94
@@ -464,8 +464,9 @@
1bdc94
         .driver   = "vhost-user-blk-pci",\
1bdc94
         .property = "vectors",\
1bdc94
         .value    = "2",\
1bdc94
-    },{ /* HW_COMPAT_RHEL7_5 from HW_COMPAT_2_11 */ \
1bdc94
-        .driver   = "e1000",\
1bdc94
+    },{ /* HW_COMPAT_RHEL7_5 from HW_COMPAT_2_11 but \
1bdc94
+           bz 1608778 modified for our naming */ \
1bdc94
+        .driver   = "e1000-82540em",\
1bdc94
         .property = "migrate_tso_props",\
1bdc94
         .value    = "off",\
1bdc94
     },{ /* HW_COMPAT_RHEL7_5 from HW_COMPAT_2_10 */ \
1bdc94
-- 
1bdc94
1.8.3.1
1bdc94