protect against no -kernel

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
diff --git a/fw_cfg.c b/fw_cfg.c
index 3fb1769..d222da2 100644
--- a/fw_cfg.c
+++ b/fw_cfg.c
@@ -70,6 +70,9 @@
 	fw_cfg_select(FW_CFG_SETUP_SIZE);
 	args.vmlinuz_size = kernel_size + fw_cfg_readl_le();
 
+	if (!args.vmlinuz_size)
+		return;
+
 	fw_cfg_select(FW_CFG_SETUP_DATA);
 	fw_cfg_read(args.header, sizeof(args.header));