|
From: | Avi Kivity |
Subject: | Re: [Qemu-devel] Questions regarding ivshmem spec |
Date: | Thu, 25 Aug 2011 17:00:14 +0300 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:6.0) Gecko/20110816 Thunderbird/6.0 |
On 08/25/2011 04:29 PM, Sasha Levin wrote:
2. The spec describes DOORBELL as an array of DWORDs, when one guest wants to poke a different guest it would write something into the offset of the other guest in the DOORBELL array. Looking at the implementation in QEMU, DOORBELL is one DWORD, when writing to it the upper WORD is the guest id and the lower WORD is the value. What am I missing here?
The spec in qemu.git is accurate. The intent is to use an ioeventfd bound into an irqfd so a write into the doorbell injects an interrupt directly into the other guest, without going through qemu^Wkvm tool.
-- I have a truly marvellous patch that fixes the bug which this signature is too narrow to contain.
[Prev in Thread] | Current Thread | [Next in Thread] |