[libvirt] [PATCH] Fix vm define error with back compat console device

Jim Meyering jim at meyering.net
Fri Jan 16 08:24:33 UTC 2009


"Daniel P. Berrange" <berrange at redhat.com> wrote:
> On Thu, Jan 15, 2009 at 10:17:56PM +0100, Jim Meyering wrote:
>> "Daniel P. Berrange" <berrange at redhat.com> wrote:
>> ...
>> >>   + virsh --connect qemu:///session define devs.xml
>> >
>> > Shouldn't use qemu:///session for test cases like this - this is what
>> > the test:///default driver is for, avoiding the fragility & danger of
>> > using the daemon & live hypervisor drivers.
>>
>> There's no failure with test:///default.
>
> I'm rather surprised at that - both drivers use identical XML formating
> routines here, so given the same config, both should fail just as badly.
> Is this perhaps a case where we need to run it under valgrind to make
> it reliably fail.

Note that virsh itself doesn't fail, in either case.
It sends info to libvirtd that causes *it* to segfault,
so in order to trigger the bug, I have to run libvirtd.




More information about the libvir-list mailing list