From d0249ce5a8d11564958262fd567d1ea770358134 Mon Sep 17 00:00:00 2001 From: Alexander Graf Date: Mon, 22 Apr 2013 16:52:53 +0200 Subject: S390: IPL: Use different firmware for different machines We have a virtio-s390 and a virtio-ccw machine in QEMU. Both use vastly different ways to do I/O. Having the same firmware blob for both doesn't really make any sense. Instead, let's parametrize the firmware file name, so that we can have different blobs for different machines. Signed-off-by: Alexander Graf --- hw/s390x/s390-virtio.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'hw/s390x/s390-virtio.h') diff --git a/hw/s390x/s390-virtio.h b/hw/s390x/s390-virtio.h index a6c4c19895..5c405e7755 100644 --- a/hw/s390x/s390-virtio.h +++ b/hw/s390x/s390-virtio.h @@ -23,6 +23,7 @@ void s390_register_virtio_hypercall(uint64_t code, s390_virtio_fn fn); void s390_init_cpus(const char *cpu_model, uint8_t *storage_keys); void s390_init_ipl_dev(const char *kernel_filename, const char *kernel_cmdline, - const char *initrd_filename); + const char *initrd_filename, + const char *firmware); void s390_create_virtio_net(BusState *bus, const char *name); #endif -- cgit v1.2.1