From: Ian Campbell Subject: Re: Sched_op hypercall small questions Date: Tue, 20 Sep 2011 13:54:49 +0100 Message-ID: <1316523289.3891.53.camel@zakaz.uk.xensource.com> References: <4E784FD502000078000769C5@nat28.tlf.novell.com> <4E7874180200007800056BF2@nat28.tlf.novell.com> <4E789BB40200007800056C5A@nat28.tlf.novell.com> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Daniel Castro Cc: "keir.xen@gmail.com" , "xen-devel@lists.xensource.com" , Jan Beulich List-Id: xen-devel@lists.xenproject.org On Tue, 2011-09-20 at 13:35 +0100, Daniel Castro wrote: > On Tue, Sep 20, 2011 at 8:57 PM, Jan Beulich wrote: > > 32752 == DOMID_SELF. And I can't see where the hypercall > > implementation would return DOMID_SELF here. > Sorry I had a coding error, but it is corrected (I did not call the > union correctly, so I ended up calling dom in the main struct). > Anyway here is the output corrected: > Xenbus rings @0xfeffc000, event channel 2 > Event Chn 2 Status 2 VCPU 0. > Event is interdomain (2) union dom 983040 union port 42 That's dom 0xf0000 but domid_t is a 16 bit value so there's no way you really have that value -- I think you must have used the wrong printf format specifier. The lower 16 bits are 0 which makes sense. You could confirm using lsevtchn. Ian.