Re: [PATCH 1/2] kvm tools: fix repeated io emulation

From: Avi Kivity
Date: Thu Aug 18 2011 - 11:08:54 EST


On 08/18/2011 12:35 AM, Sasha Levin wrote:
On Thu, 2011-08-18 at 09:13 +0300, Pekka Enberg wrote:
> Hi,
>
> On Thu, Aug 18, 2011 at 6:06 AM, Xiao Guangrong
> <xiaoguangrong@xxxxxxxxxxxxxx> wrote:
> > When kvm emulates repeation io read instruction, it can exit to user-space with
> > 'count'> 1, we need to emulate io access for many times
> >
> > Signed-off-by: Xiao Guangrong<xiaoguangrong@xxxxxxxxxxxxxx>
>
> The KVM tool is not actually maintained by Avi and Marcelo but by me
> and few others. Our git repository is here:
>
> https://github.com/penberg/linux-kvm
>
> Ingo pulls that to -tip few times a week or so. Sasha, can you please
> take a look at these patches and if you're OK with them, I'll apply
> them.

Pekka,

I can only assume they're right, 'count' isn't documented anywhere :)

If any of KVM maintainers could confirm it I'll add it into the docs.


Count is indeed the number of repetitions.

--
I have a truly marvellous patch that fixes the bug which this
signature is too narrow to contain.

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/