* [PATCH] vapic: fix vapic option rom sizing
@ 2010-11-16 14:33 Avi Kivity
0 siblings, 0 replies; only message in thread
From: Avi Kivity @ 2010-11-16 14:33 UTC (permalink / raw)
To: kvm, Marcelo Tosatti
An option rom is required to be aligned to 512 bytes, and to have some
space for a signature.
Signed-off-by: Avi Kivity <avi@redhat.com>
---
pc-bios/optionrom/vapic.S | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/pc-bios/optionrom/vapic.S b/pc-bios/optionrom/vapic.S
index 3c8dcf1..97fa19c 100644
--- a/pc-bios/optionrom/vapic.S
+++ b/pc-bios/optionrom/vapic.S
@@ -323,4 +323,8 @@ up_set_tpr_poll_irq:
vapic:
. = . + vapic_size
+
+.byte 0 # reserve space for signature
+.align 512, 0
+
_end:
--
1.7.3.1
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2010-11-16 14:33 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-11-16 14:33 [PATCH] vapic: fix vapic option rom sizing Avi Kivity
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox