[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1161290200.17335.112.camel@localhost.localdomain>
Date: Thu, 19 Oct 2006 21:36:40 +0100
From: Alan Cox <alan@...rguk.ukuu.org.uk>
To: Anthony Liguori <aliguori@...ibm.com>
Cc: John Stoffel <john@...ffel.org>, Avi Kivity <avi@...ranet.com>,
linux-kernel <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH 1/7] KVM: userspace interface
Ar Iau, 2006-10-19 am 13:49 -0500, ysgrifennodd Anthony Liguori:
> ioctls are probably wrong here though. Ideally, you would want to be
> able to support an SMP guest. This means you need to have two virtual
> processors executing in kernel space. If you use ioctls, it forces you
Not really and in fact with qemu you'd want to halt a trap on the second
virtual CPU until emulation was over if only to get I/O and other
instruction ordering right. Thats not an argument that only that view
should be supported of course.
> If you used a read/write interface, you could poll for any number of
> processors and handle IO emulation in a single userspace thread (which
> seems closer to how hardware really works anyway).
Agreed.
Alan
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists