Skip to content

Commit de50b59

Browse files
lorenzbonzini
authored andcommitted
Fix initrd base address for PVH boot
1 parent 6cb5e72 commit de50b59

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

fw_cfg.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@ static void boot_pvh_from_fw_cfg(void)
230230
fw_cfg_select(FW_CFG_INITRD_SIZE);
231231
args.initrd_size = fw_cfg_readl_le();
232232
if (args.initrd_size) {
233-
fw_cfg_select(FW_CFG_INITRD_SIZE);
233+
fw_cfg_select(FW_CFG_INITRD_ADDR);
234234
args.initrd_addr = (void *)fw_cfg_readl_le();
235235

236236
fw_cfg_read_entry(FW_CFG_INITRD_DATA, args.initrd_addr,

0 commit comments

Comments
 (0)