Re: [Qemu-devel] [PATCH] pcibus_get_dev_path: correct pci device path construction

2011-01-31 Thread Igor Kovalenko
On Mon, Jan 31, 2011 at 5:56 PM, Mark Cave-Ayland wrote: > On 18/01/11 21:10, Igor V. Kovalenko wrote: > >> From: Igor V. Kovalenko >> >> - fix snprintf off by one >>   pci domain and slot number formatting snprintf calls >>   require extra space for trailing null character >> >>   without this ch

Re: [Qemu-devel] [PATCH] pcibus_get_dev_path: correct pci device path construction

2011-01-31 Thread Mark Cave-Ayland
On 18/01/11 21:10, Igor V. Kovalenko wrote: From: Igor V. Kovalenko - fix snprintf off by one pci domain and slot number formatting snprintf calls require extra space for trailing null character without this change devices are assigned the same path name which triggers assertion in

[Qemu-devel] [PATCH] pcibus_get_dev_path: correct pci device path construction

2011-01-18 Thread Igor V. Kovalenko
From: Igor V. Kovalenko - fix snprintf off by one pci domain and slot number formatting snprintf calls require extra space for trailing null character without this change devices are assigned the same path name which triggers assertion in vmstate_register_with_alias_id - while iterating