Re: [libvirt] PATCH: 23/25: Add domain events to test driver

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Jan 14, 2009 at 09:57:26AM +0100, Jim Meyering wrote:
> Jim Meyering <jim@xxxxxxxxxxxx> wrote:
> > "Daniel P. Berrange" <berrange@xxxxxxxxxx> wrote:
> >> On Tue, Jan 13, 2009 at 05:48:12PM +0000, Daniel P. Berrange wrote:
> >>> This adds support for the domain events in the test driver. Code
> >>> is following the same pattern as the impl in the QEMU driver.
> >>>
> >>>  test.c |  223 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++--
> >>>  1 file changed, 217 insertions(+), 6 deletions(-)
> >>
> >> Updated patch to not queue events if no event loop impl is defined
> >> (as is common from virsh). This is what was breaking the tests cases
> >
> > Thanks!
> > With that, there's only one failure remaining:
> >
> >   35) Xen SEXPR-2-XML fv-sound-all -> fv-sound-all                 ... FAILED
> >   FAIL: sexpr2xmltest
> 
> In your 25-patch series, the new syntax check rule,
> sc_prohibit_nonreentrant (nice!) fails because it finds
> lots of uses of strerror.  Did I miss a patch?  This looks
> like the change I would have expected to remove those:

No, I forgot to mention there were still many more to remove. The
ones I have not dealt with are less critical because they're only
used in the logging calls like DEBUG(), rather than app facing
virRaiseError calls. 

A number of these logging calls should be removed (if the errno is 
already propagated to caller where its reported), or converted into
error calls. There'd still be a number of calls to strerror() left
though.

I didn't do this yet because it'll cause even more conflicts with other
peoples work than my patchset already has.

Daniel
-- 
|: Red Hat, Engineering, London   -o-   http://people.redhat.com/berrange/ :|
|: http://libvirt.org  -o-  http://virt-manager.org  -o-  http://ovirt.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: GnuPG: 7D3B9505  -o-  F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 :|

--
Libvir-list mailing list
Libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]