"Dr. David Alan Gilbert" wrote:
> * Juan Quintela (quint...@redhat.com) wrote:
>> "Dr. David Alan Gilbert" wrote:
>> >> > +while (index >= f->buf_size) {
>> >> > +int received = qemu_fill_buffer(f);
>> >> > +
>> >> > +if (received <= 0) {
>> >>
>> >> here, I don't know really
* Juan Quintela (quint...@redhat.com) wrote:
> "Dr. David Alan Gilbert" wrote:
> >> > +while (index >= f->buf_size) {
> >> > +int received = qemu_fill_buffer(f);
> >> > +
> >> > +if (received <= 0) {
> >>
> >> here, I don't know really what to do. We just need one character,
"Dr. David Alan Gilbert" wrote:
>> > +while (index >= f->buf_size) {
>> > +int received = qemu_fill_buffer(f);
>> > +
>> > +if (received <= 0) {
>>
>> here, I don't know really what to do. We just need one character, so
>> the 1st call to qemu_fill_buffer() gives it to us, or
* Juan Quintela (quint...@redhat.com) wrote:
> "Dr. David Alan Gilbert (git)" wrote:
> > From: "Dr. David Alan Gilbert"
> >
> > Make qemu_peek_buffer repatedly call fill_buffer until it gets
> > all the data it requires, or until there is an error.
> >
> > At the moment, qemu_peek_buffer will t
"Dr. David Alan Gilbert (git)" wrote:
> From: "Dr. David Alan Gilbert"
>
> Make qemu_peek_buffer repatedly call fill_buffer until it gets
> all the data it requires, or until there is an error.
>
> At the moment, qemu_peek_buffer will try one qemu_fill_buffer if there
> isn't enough data wait
From: "Dr. David Alan Gilbert"
Make qemu_peek_buffer repatedly call fill_buffer until it gets
all the data it requires, or until there is an error.
At the moment, qemu_peek_buffer will try one qemu_fill_buffer if there
isn't enough data waiting, however the kernel is entitled to return
jus