From: Marcelo Tosatti <mtosatti@redhat.com>
To: kvm@vger.kernel.org
Cc: Marcelo Tosatti <mtosatti@redhat.com>
Subject: [patch 4/5] pc: drop unnecessary memory un-assignment
Date: Mon, 01 Aug 2011 12:27:26 -0300 [thread overview]
Message-ID: <20110801152820.244105073@redhat.com> (raw)
In-Reply-To: 20110801152722.231510187@redhat.com
[-- Attachment #1: pc-0xd000-unassigned --]
[-- Type: text/plain, Size: 1219 bytes --]
As noted by the original commit. Probably kept in qemu-kvm
due to a mismerge.
commit 7d0adcd6d57149d4e9ec66f3a1c171df2bea2775
Author: aurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162>
Date: Fri Oct 24 13:12:42 2008 +0000
hw/pc: don't register the memory hole as unassigned twice
Since revision 5228, we don't register the memory hole (0xa00000 to
0xfffff) anymore. As a consequence, we don't need to register it again
as unassigned.
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Index: qemu-kvm/hw/pc.c
===================================================================
--- qemu-kvm.orig/hw/pc.c
+++ qemu-kvm/hw/pc.c
@@ -1013,8 +1013,6 @@ void pc_memory_init(const char *kernel_f
isa_bios_size = bios_size;
if (isa_bios_size > (128 * 1024))
isa_bios_size = 128 * 1024;
- cpu_register_physical_memory(0xd0000, (192 * 1024) - isa_bios_size,
- IO_MEM_UNASSIGNED);
cpu_register_physical_memory(0x100000 - isa_bios_size,
isa_bios_size,
(bios_offset + bios_size - isa_bios_size) | IO_MEM_ROM);
next prev parent reply other threads:[~2011-08-01 15:29 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-08-01 15:27 [patch 0/5] misc qemu-kvm cleanups Marcelo Tosatti
2011-08-01 15:27 ` [patch 1/5] qemu-kvm: remove hpagesize variable declaration Marcelo Tosatti
2011-08-01 15:27 ` [patch 2/5] piix_pci: remove kvm.h include Marcelo Tosatti
2011-08-01 15:27 ` [patch 3/5] qemu-kvm: remove unused kvm_nested variable Marcelo Tosatti
2011-08-01 15:27 ` Marcelo Tosatti [this message]
2011-08-02 11:28 ` [patch 4/5] pc: drop unnecessary memory un-assignment Avi Kivity
2011-08-02 11:40 ` Avi Kivity
2011-08-01 15:27 ` [patch 5/5] kvm-tpr-opt: delete CPUState field Marcelo Tosatti
2011-08-02 12:37 ` Avi Kivity
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20110801152820.244105073@redhat.com \
--to=mtosatti@redhat.com \
--cc=kvm@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.