[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-ppc] [PATCH v3 2/7] sysbus: Make devices spawnable via -device
From: |
Paolo Bonzini |
Subject: |
Re: [Qemu-ppc] [PATCH v3 2/7] sysbus: Make devices spawnable via -device |
Date: |
Wed, 24 Sep 2014 17:37:30 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.0 |
Il 24/09/2014 17:22, Alexander Graf ha scritto:
> +static int error_on_sysbus_device(SysBusDevice *sbdev, void *opaque)
> +{
> + error_report("Device '%s' can not be handled by this machine",
> + qdev_fw_name(DEVICE(sbdev)));
> + exit(1);
> +}
The firmware name is usually somewhat opaque. Maybe use the class name,
and use
'-device %s' cannot be handled by this machine
? (Note "cannot" is a single word. "can not be handled" means that the
machine may or may not handle it).
Paolo
- [Qemu-ppc] [PATCH v3 0/7] Dynamic sysbus device allocation support, Alexander Graf, 2014/09/24
- [Qemu-ppc] [PATCH v3 1/7] sysbus: Add dynamic sysbus device search, Alexander Graf, 2014/09/24
- [Qemu-ppc] [PATCH v3 6/7] PPC: e500: Support dynamically spawned sysbus devices, Alexander Graf, 2014/09/24
- [Qemu-ppc] [PATCH v3 5/7] sysbus: Add new platform bus helper device, Alexander Graf, 2014/09/24
- [Qemu-ppc] [PATCH v3 4/7] sysbus: Expose MMIO enumeration helper, Alexander Graf, 2014/09/24
- [Qemu-ppc] [PATCH v3 2/7] sysbus: Make devices spawnable via -device, Alexander Graf, 2014/09/24
- Re: [Qemu-ppc] [PATCH v3 2/7] sysbus: Make devices spawnable via -device,
Paolo Bonzini <=
- [Qemu-ppc] [PATCH v3 7/7] e500: Add support for eTSEC in device tree, Alexander Graf, 2014/09/24
- [Qemu-ppc] [PATCH v3 3/7] sysbus: Expose IRQ enumeration helpers, Alexander Graf, 2014/09/24
- Re: [Qemu-ppc] [PATCH v3 0/7] Dynamic sysbus device allocation support, Paolo Bonzini, 2014/09/24