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

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