Re: [Qemu-devel] [PATCH v4 01/23] qdev: Rework qtree path abbreviations

2010-06-23 Thread Markus Armbruster
Hmm, what happens if the path denotes a device instead of a bus? qemu-system-x86_64: -device e1000,bus=/i440FX-pcihost: Bus '' not found Not so nice.

Re: [Qemu-devel] [PATCH v4 01/23] qdev: Rework qtree path abbreviations

2010-06-23 Thread Markus Armbruster
[cc: kraxel] Jan Kiszka writes: > From: Jan Kiszka > > Path abbreviations suffer from the inconsistency that bus names can only > be omitted at the end of a path. Drop this special rule, and also remove > the now obsolete QERR_DEVICE_MULTIPLE_BUSSES. > > Signed-off-by: Jan Kiszka Affects only

[Qemu-devel] [PATCH v4 01/23] qdev: Rework qtree path abbreviations

2010-06-15 Thread Jan Kiszka
From: Jan Kiszka Path abbreviations suffer from the inconsistency that bus names can only be omitted at the end of a path. Drop this special rule, and also remove the now obsolete QERR_DEVICE_MULTIPLE_BUSSES. Signed-off-by: Jan Kiszka --- hw/qdev.c | 22 -- qerror.c |