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

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