id = 1356 title = "\"-set device\" doesn't work with device specified in json" state = "closed" created_at = "2022-12-05T21:46:23.338Z" closed_at = "2022-12-07T12:40:35.447Z" labels = [] url = "https://gitlab.com/qemu-project/qemu/-/issues/1356" host-os = "Fedora 37" host-arch = "x86_64" qemu-version = "QEMU emulator version 7.0.0 (qemu-7.0.0-11.fc37)" guest-os = "N/A" guest-arch = "N/A" description = """The above QEMU command line results in: ``` qemu-system-x86_64: -set device.ua-igd.x-igd-gms=1: there is no device "ua-igd" defined ``` While the following command works: ``` qemu-system-x86_64 -accel kvm -m 8192 -nodefaults -display none -net none -device vfio-pci,host=0000:00:02.0,id=ua-igd -set device.ua-igd.x-igd-gms=1 ``` libvirt has moved to the json device specification, therefore I can no longer associate use a section to set driver options for a specific device with this broken id association.""" reproduce = """1. Create a device with an ID and use -set device.$ID to set a driver option for the device 2. Note failure when using json device format vs legacy device specification 3. Profit""" additional = """"""