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

4a2fec
From 5bbfbb1394759b58edd32134cd5c43871938dac8 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)
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
4a2fec
index c568777..ae23fc4 100644
4a2fec
--- a/hw/i386/pc.c
4a2fec
+++ b/hw/i386/pc.c
4a2fec
@@ -474,6 +474,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