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