[libvirt] [PATCH] Don't use %.3d format for bus/addr of USB devices.

2010-10-26 Thread Diego Elio Pettenò
When using 0-prefixed numbers, QEmu will interpret them as octal numbers (as C convention says); this means that if you attach a device that has addr 10 (decimal) you're going to attach a different device. --- src/qemu/qemu_conf.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)

Re: [libvirt] [PATCH] Don't use %.3d format for bus/addr of USB devices.

2010-10-26 Thread Eric Blake
On 10/26/2010 06:45 AM, Diego Elio Pettenò wrote: When using 0-prefixed numbers, QEmu will interpret them as octal numbers (as C convention says); this means that if you attach a device that has addr 10 (decimal) you're going to attach a different device. --- src/qemu/qemu_conf.c |4 ++--