]> git.proxmox.com Git - mirror_qemu.git/commit - hw/i386/pc.c
pc: don't access fw cfg if NULL
authorMichael S. Tsirkin <mst@redhat.com>
Wed, 10 Jul 2013 15:28:04 +0000 (18:28 +0300)
committerMichael S. Tsirkin <mst@redhat.com>
Mon, 15 Jul 2013 18:26:32 +0000 (21:26 +0300)
commitd26d9e14c15837eba2b7447e8d15230bab8e0940
tree65a3b7601fad519d1dec3ca04ad2a96b565b46da
parent488f069bd1f3aeb6ee748acb02b7581831bcb3f8
pc: don't access fw cfg if NULL

commit f8c457b88d72a48989f190bc3d7b79f4f3b7d11c
     "pc: pass PCI hole ranges to Guests"
broke Xen as it has no fw_cfg.
Check for this configuration and boil out.

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Tested-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
hw/i386/pc.c