[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [RFC] Next gen kvm api
From: |
Avi Kivity |
Subject: |
Re: [Qemu-devel] [RFC] Next gen kvm api |
Date: |
Wed, 15 Feb 2012 15:39:41 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:9.0) Gecko/20111222 Thunderbird/9.0 |
On 02/07/2012 08:12 PM, Rusty Russell wrote:
> > I would really love to have this, but the problem is that we'd need a
> > general purpose bytecode VM with binding to some kernel APIs. The
> > bytecode VM, if made general enough to host more complicated devices,
> > would likely be much larger than the actual code we have in the kernel now.
>
> We have the ability to upload bytecode into the kernel already. It's in
> a great bytecode interpreted by the CPU itself.
Unfortunately it's inflexible (has to come with the kernel) and open to
security vulnerabilities.
> If every user were emulating different machines, LPF this would make
> sense. Are they?
They aren't.
> Or should we write those helpers once, in C, and
> provide that for them.
There are many of them: PIT/PIC/IOAPIC/MSIX tables/HPET/kvmclock/Hyper-V
stuff/vhost-net/DMA remapping/IO remapping (just for x86), and some of
them are quite complicated. However implementing them in bytecode
amounts to exposing a stable kernel ABI, since they use such a vast
range of kernel services.
--
error compiling committee.c: too many arguments to function
- Re: [Qemu-devel] [RFC] Next gen kvm api, (continued)
- Re: [Qemu-devel] [RFC] Next gen kvm api, Anthony Liguori, 2012/02/05
- Re: [Qemu-devel] [RFC] Next gen kvm api, Avi Kivity, 2012/02/06
- Re: [Qemu-devel] [RFC] Next gen kvm api, Anthony Liguori, 2012/02/06
- Re: [Qemu-devel] [RFC] Next gen kvm api, Avi Kivity, 2012/02/06
- Re: [Qemu-devel] [RFC] Next gen kvm api, Anthony Liguori, 2012/02/06
- Re: [Qemu-devel] [RFC] Next gen kvm api, Avi Kivity, 2012/02/06
- Re: [Qemu-devel] [RFC] Next gen kvm api, Rusty Russell, 2012/02/07
- Re: [Qemu-devel] [RFC] Next gen kvm api,
Avi Kivity <=
- Re: [Qemu-devel] [RFC] Next gen kvm api, Anthony Liguori, 2012/02/15
- Re: [Qemu-devel] [RFC] Next gen kvm api, Gleb Natapov, 2012/02/16
- Re: [Qemu-devel] [RFC] Next gen kvm api, Anthony Liguori, 2012/02/16
- Re: [Qemu-devel] [RFC] Next gen kvm api, Avi Kivity, 2012/02/16
- Re: [Qemu-devel] [RFC] Next gen kvm api, Rusty Russell, 2012/02/15