<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">From 5522aa3b11786a3c53fd36d055d816fc3ad4ed6f Mon Sep 17 00:00:00 2001
From: Marcel Apfelbaum &lt;marcel@redhat.com&gt;
Date: Sun, 24 Jul 2016 16:29:01 +0200
Subject: [PATCH 21/35] q35-rhel: allow dynamic sysbus

RH-Author: Marcel Apfelbaum &lt;marcel@redhat.com&gt;
Message-id: &lt;1469377743-9714-12-git-send-email-marcel@redhat.com&gt;
Patchwork-id: 71378
O-Subject: [RHEL-7.3 qemu-kvm-rhev PATCH 11/13] q35-rhel: allow dynamic sysbus
Bugzilla: 1350196
RH-Acked-by: Auger Eric &lt;eric.auger@redhat.com&gt;
RH-Acked-by: Peter Xu &lt;peterx@redhat.com&gt;
RH-Acked-by: Laurent Vivier &lt;lvivier@redhat.com&gt;

Allow adding sysbus devices with -device on RHEL Q35 machines.

Signed-off-by: Marcel Apfelbaum &lt;marcel@redhat.com&gt;
Signed-off-by: Miroslav Rezanina &lt;mrezanin@redhat.com&gt;
---
 hw/i386/pc_q35.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/hw/i386/pc_q35.c b/hw/i386/pc_q35.c
index 881cef3..2aa6fff 100644
--- a/hw/i386/pc_q35.c
+++ b/hw/i386/pc_q35.c
@@ -340,6 +340,7 @@ static void pc_q35_machine_rhel730_options(MachineClass *m)
     m-&gt;default_machine_opts = "firmware=bios-256k.bin";
     m-&gt;default_display = "std";
     m-&gt;no_floppy = 1;
+    m-&gt;has_dynamic_sysbus = true;
 }
 
 DEFINE_PC_MACHINE(q35_rhel730, "pc-q35-rhel7.3.0", pc_q35_init_rhel730,
-- 
1.8.3.1

</pre></body></html>