Signed-off-by: Jan Kiszka <[email protected]>
---
qemu/hw/extboot.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/qemu/hw/extboot.c b/qemu/hw/extboot.c
index 32e6226..13ffafa 100644
--- a/qemu/hw/extboot.c
+++ b/qemu/hw/extboot.c
@@ -77,8 +77,8 @@ static void extboot_write_cmd(void *opaque, uint32_t addr,
uint32_t value)
BlockDriverState *bs = opaque;
int cylinders, heads, sectors, err;
uint64_t nb_sectors;
- target_phys_addr_t pa;
- int blen;
+ target_phys_addr_t pa = 0;
+ int blen = 0;
void *buf = NULL;
if (cmd->type == 0x01 || cmd->type == 0x02) {
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html