[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 28/35] kvm: x86: Introduce kvmclock device to sa
From: |
Markus Armbruster |
Subject: |
Re: [Qemu-devel] [PATCH 28/35] kvm: x86: Introduce kvmclock device to save/restore its state |
Date: |
Wed, 12 Jan 2011 13:04:33 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) |
Avi Kivity <address@hidden> writes:
> On 01/11/2011 03:54 PM, Anthony Liguori wrote:
>>
>> Right, we should introduce a KVMBus that KVM devices are created on.
>> The devices can get at KVMState through the BusState.
>
> There is no kvm bus in a PC (I looked). We're bending the device
> model here because a device is implemented in the kernel and not in
> userspace. An implementation detail is magnified beyond all
> proportions.
>
> An ioapic that is implemented by kvm lives in exactly the same place
> that the qemu ioapic lives in.
Exactly. And that place is a bus.
What if the device interfaces in bus-specific ways with its parent bus?
Then we can't simply replace the parent bus by a KVM bus. We'd need
*two* parent buses, as Jan pointed out upthread.
> An assigned pci device lives on the
> PCI bus, not a KVMBus. If we need a pointer to KVMState, then we must
> find it elsewhere, not through creating imaginary buses that don't
> exist.
- Re: [Qemu-devel] [PATCH 28/35] kvm: x86: Introduce kvmclock device to save/restore its state, (continued)
- Re: [Qemu-devel] [PATCH 28/35] kvm: x86: Introduce kvmclock device to save/restore its state, Jan Kiszka, 2011/01/20
- Re: [Qemu-devel] [PATCH 28/35] kvm: x86: Introduce kvmclock device to save/restore its state, Avi Kivity, 2011/01/25
- Re: [Qemu-devel] [PATCH 28/35] kvm: x86: Introduce kvmclock device to save/restore its state, Anthony Liguori, 2011/01/25
- Re: [Qemu-devel] [PATCH 28/35] kvm: x86: Introduce kvmclock device to save/restore its state, Avi Kivity, 2011/01/25
- Re: [Qemu-devel] [PATCH 28/35] kvm: x86: Introduce kvmclock device to save/restore its state, Avi Kivity, 2011/01/25
- Re: [Qemu-devel] [PATCH 28/35] kvm: x86: Introduce kvmclock device to save/restore its state, Anthony Liguori, 2011/01/25
- Re: [Qemu-devel] [PATCH 28/35] kvm: x86: Introduce kvmclock device to save/restore its state,
Markus Armbruster <=
- Re: [Qemu-devel] [PATCH 28/35] kvm: x86: Introduce kvmclock device to save/restore its state, Anthony Liguori, 2011/01/10
- Re: [Qemu-devel] [PATCH 28/35] kvm: x86: Introduce kvmclock device to save/restore its state, Jan Kiszka, 2011/01/11
[Qemu-devel] [PATCH 12/35] kvm: x86: Fix a few coding style violations, Marcelo Tosatti, 2011/01/06
[Qemu-devel] [PATCH 26/35] kvm: Eliminate KVMState arguments, Marcelo Tosatti, 2011/01/06
- [Qemu-devel] Re: [PATCH 26/35] kvm: Eliminate KVMState arguments, Anthony Liguori, 2011/01/06
- [Qemu-devel] Re: [PATCH 26/35] kvm: Eliminate KVMState arguments, Jan Kiszka, 2011/01/07
- [Qemu-devel] Re: [PATCH 26/35] kvm: Eliminate KVMState arguments, Anthony Liguori, 2011/01/07
- [Qemu-devel] Re: [PATCH 26/35] kvm: Eliminate KVMState arguments, Jan Kiszka, 2011/01/08
- [Qemu-devel] Re: [PATCH 26/35] kvm: Eliminate KVMState arguments, Anthony Liguori, 2011/01/10
- [Qemu-devel] Re: [PATCH 26/35] kvm: Eliminate KVMState arguments, Jan Kiszka, 2011/01/10