Blame SOURCES/0009-seabios-paravirt-allow-more-than-1TB-in-x86-guest.patch

383d26
From 0a103b3e40c37d33a57442ab41882e9f776ca8e7 Mon Sep 17 00:00:00 2001
383d26
From: Andrea Arcangeli <aarcange@redhat.com>
383d26
Date: Tue, 8 Oct 2013 17:05:45 +0200
383d26
Subject: seabios paravirt: allow more than 1TB in x86 guest
383d26
383d26
RH-Author: Andrea Arcangeli <aarcange@redhat.com>
383d26
Message-id: <1381251945-13402-2-git-send-email-aarcange@redhat.com>
383d26
Patchwork-id: 54784
383d26
O-Subject: [RHEL-7.0 qemu-kvm PATCH] seabios paravirt: allow more than 1TB in x86 guest
383d26
Bugzilla: 989677
383d26
RH-Acked-by: Paolo Bonzini <pbonzini@redhat.com>
383d26
RH-Acked-by: Gleb Natapov <gleb@redhat.com>
383d26
RH-Acked-by: Laszlo Ersek <lersek@redhat.com>
383d26
383d26
This patch should be applied to the qemu-kvm rpm package at the same
383d26
time of the other one for seabios, so qemu will forward the ram_size
383d26
bits over 40 to seabios without losing them.
383d26
383d26
Signed-off-by: Andrea Arcangeli <aarcange@redhat.com>
383d26
(cherry picked from commit 85123a6939a536f81470ad2e8afa5a7c72584dc0)
383d26
(cherry picked from commit 5bbfbb1394759b58edd32134cd5c43871938dac8)
383d26
(cherry picked from commit 506774310f8e4238a93dbd6be0e8d2a725b7305f)
383d26
(cherry picked from commit fa79d5440dd3e237f186963c5609f203737e68fc)
383d26
(cherry picked from commit 0d289939196d2ea236c11e3a2363f09077fa20f0)
383d26
---
383d26
 hw/i386/pc.c | 1 +
383d26
 1 file changed, 1 insertion(+)
383d26
383d26
diff --git a/hw/i386/pc.c b/hw/i386/pc.c
383d26
index d38a328..265decf 100644
383d26
--- a/hw/i386/pc.c
383d26
+++ b/hw/i386/pc.c
383d26
@@ -479,6 +479,7 @@ void pc_cmos_init(PCMachineState *pcms,
383d26
     rtc_set_memory(s, 0x5b, val);
383d26
     rtc_set_memory(s, 0x5c, val >> 8);
383d26
     rtc_set_memory(s, 0x5d, val >> 16);
383d26
+    rtc_set_memory(s, 0x5e, val >> 24);
383d26
 
383d26
     object_property_add_link(OBJECT(pcms), "rtc_state",
383d26
                              TYPE_ISA_DEVICE,
383d26
-- 
383d26
1.8.3.1
383d26