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

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