qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] KVM Call minutes for 2012-09-25
@ 2012-09-25 14:35 Juan Quintela
  2012-09-25 14:59 ` Markus Armbruster
  0 siblings, 1 reply; 4+ messages in thread
From: Juan Quintela @ 2012-09-25 14:35 UTC (permalink / raw)
  To: KVM devel mailing list, qemu-devel


Hi

This are this week minutes:

- URI parsing library for glusterfs: libxml2 vs. in-tree "fork" of the
same code. (Paolo)
 * code hasn't changed in 2 years, it is really stable
 * anthony wants to copy the code

- there are several commands that do blocking IO
  dump-guest-memory/screen-dump
  convert to asynchronous commands after we move all to QAPI
  only two commands missingto port to QAPI, and one is posted on list
  non-blocking IO to a file is a challenge
  (we have code on the block layer for it)

- how to give errors from OpenFile to the caller
  putting errno as int: bad idea
  putting as strerrno string: also a bad idea, no warantees
  Using an extended error code
  Put it as a string that can be parsed?
  Paolo suggest to create a new error class
  We don't warantee that errors would be "parseable".

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Qemu-devel] KVM Call minutes for 2012-09-25
  2012-09-25 14:35 [Qemu-devel] KVM Call minutes for 2012-09-25 Juan Quintela
@ 2012-09-25 14:59 ` Markus Armbruster
  2012-09-25 18:52   ` Luiz Capitulino
  0 siblings, 1 reply; 4+ messages in thread
From: Markus Armbruster @ 2012-09-25 14:59 UTC (permalink / raw)
  To: quintela; +Cc: qemu-devel, KVM devel mailing list

Juan Quintela <quintela@redhat.com> writes:

> Hi
>
> This are this week minutes:
>
> - URI parsing library for glusterfs: libxml2 vs. in-tree "fork" of the
> same code. (Paolo)
>  * code hasn't changed in 2 years, it is really stable
>  * anthony wants to copy the code
>
> - there are several commands that do blocking IO
>   dump-guest-memory/screen-dump
>   convert to asynchronous commands after we move all to QAPI
>   only two commands missingto port to QAPI, and one is posted on list
>   non-blocking IO to a file is a challenge
>   (we have code on the block layer for it)
>
> - how to give errors from OpenFile to the caller
>   putting errno as int: bad idea
>   putting as strerrno string: also a bad idea, no warantees

Use the identifiers instead of their non-portable numeric encodings or
strerror() descriptions: "EPERM", "EINVAL", ...

>   Using an extended error code
>   Put it as a string that can be parsed?
>   Paolo suggest to create a new error class
>   We don't warantee that errors would be "parseable".

We don't want programs to parse the human-readable error string.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Qemu-devel] KVM Call minutes for 2012-09-25
  2012-09-25 14:59 ` Markus Armbruster
@ 2012-09-25 18:52   ` Luiz Capitulino
  2012-09-25 21:13     ` Anthony Liguori
  0 siblings, 1 reply; 4+ messages in thread
From: Luiz Capitulino @ 2012-09-25 18:52 UTC (permalink / raw)
  To: Markus Armbruster; +Cc: qemu-devel, KVM devel mailing list, quintela

On Tue, 25 Sep 2012 16:59:00 +0200
Markus Armbruster <armbru@redhat.com> wrote:

> Juan Quintela <quintela@redhat.com> writes:
> 
> > Hi
> >
> > This are this week minutes:
> >
> > - URI parsing library for glusterfs: libxml2 vs. in-tree "fork" of the
> > same code. (Paolo)
> >  * code hasn't changed in 2 years, it is really stable
> >  * anthony wants to copy the code
> >
> > - there are several commands that do blocking IO
> >   dump-guest-memory/screen-dump
> >   convert to asynchronous commands after we move all to QAPI
> >   only two commands missingto port to QAPI, and one is posted on list
> >   non-blocking IO to a file is a challenge
> >   (we have code on the block layer for it)
> >
> > - how to give errors from OpenFile to the caller
> >   putting errno as int: bad idea
> >   putting as strerrno string: also a bad idea, no warantees
> 
> Use the identifiers instead of their non-portable numeric encodings or
> strerror() descriptions: "EPERM", "EINVAL", ...

Yes, but for me the important point in this discussion is whether
or not a new class is necessary. I think it it isn't.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Qemu-devel] KVM Call minutes for 2012-09-25
  2012-09-25 18:52   ` Luiz Capitulino
@ 2012-09-25 21:13     ` Anthony Liguori
  0 siblings, 0 replies; 4+ messages in thread
From: Anthony Liguori @ 2012-09-25 21:13 UTC (permalink / raw)
  To: Luiz Capitulino, Markus Armbruster
  Cc: qemu-devel, KVM devel mailing list, quintela

Luiz Capitulino <lcapitulino@redhat.com> writes:

> On Tue, 25 Sep 2012 16:59:00 +0200
> Markus Armbruster <armbru@redhat.com> wrote:
>
>> Juan Quintela <quintela@redhat.com> writes:
>> 
>> > Hi
>> >
>> > This are this week minutes:
>> >
>> > - URI parsing library for glusterfs: libxml2 vs. in-tree "fork" of the
>> > same code. (Paolo)
>> >  * code hasn't changed in 2 years, it is really stable
>> >  * anthony wants to copy the code
>> >
>> > - there are several commands that do blocking IO
>> >   dump-guest-memory/screen-dump
>> >   convert to asynchronous commands after we move all to QAPI
>> >   only two commands missingto port to QAPI, and one is posted on list
>> >   non-blocking IO to a file is a challenge
>> >   (we have code on the block layer for it)
>> >
>> > - how to give errors from OpenFile to the caller
>> >   putting errno as int: bad idea
>> >   putting as strerrno string: also a bad idea, no warantees
>> 
>> Use the identifiers instead of their non-portable numeric encodings or
>> strerror() descriptions: "EPERM", "EINVAL", ...
>
> Yes, but for me the important point in this discussion is whether
> or not a new class is necessary. I think it it isn't.

If we have a tool that needs to differientiate errors, chances are
another user needs to also.

Regards,

Anthony Liguori

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2012-09-25 21:13 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-09-25 14:35 [Qemu-devel] KVM Call minutes for 2012-09-25 Juan Quintela
2012-09-25 14:59 ` Markus Armbruster
2012-09-25 18:52   ` Luiz Capitulino
2012-09-25 21:13     ` Anthony Liguori

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).