All of lore.kernel.org
 help / color / mirror / Atom feed
From: Arun Sharma <arun.sharma@intel.com>
To: Mike Wray <mike.wray@hp.com>
Cc: Ian Pratt <m+Ian.Pratt@cl.cam.ac.uk>, xen-devel@lists.xensource.com
Subject: Re: VMX device models not getting created anymore?
Date: Fri, 17 Jun 2005 13:17:42 -0700	[thread overview]
Message-ID: <42B32FE6.2090308@intel.com> (raw)
In-Reply-To: <42B3246E.3000706@intel.com>

Arun Sharma wrote:

> That seems to be the problem. If I add some logging, I see:
> 
> [2005-06-17 12:06:07 xend] INFO (channel:32) created event channel: 
> <EventChannel dom1:0:19 dom2:5:2>
> [2005-06-17 12:06:07 xend] INFO (channel:32) created event channel: 
> <EventChannel dom1:0:20 dom2:5:3>
[..]
> 
> Things get more interesting, because self.device_channel['port1'] for 
> the second channel returns 19 instead of 20.
> 

This statement is not true. I got confused because the only the first 
event channel shows up in xm list --long.

The real issue is the hard coding in:

xen/include/public/io/ioreq.h:

#define IOPACKET_PORT   2

This was true before your changes went in. After your changes, xen 
started sending IOPACKET events on:

<EventChannel dom1:0:19 dom2:5:2>

but the user space device models were listening on:

<EventChannel dom1:0:20 dom2:5:3>

However, if I subtract -1, everything magically works :)

I think the quick fix is to redefine IOPACKET_PORT to be 3. Will send a 
patch to remove the hard coding ASAP.

	-Arun

  reply	other threads:[~2005-06-17 20:17 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-06-10 21:48 VMX device models not getting created anymore? Ian Pratt
2005-06-15 14:30 ` Mike Wray
2005-06-15 17:09   ` Arun Sharma
2005-06-16  8:56     ` Mike Wray
2005-06-16 17:35       ` Arun Sharma
2005-06-17 13:07         ` Mike Wray
2005-06-17 19:28           ` Arun Sharma
2005-06-17 20:17             ` Arun Sharma [this message]
2005-06-17 21:54               ` cannot concatenate 'str' and 'Nonetype' object with creating domain Jurgen Stroo
2005-06-17 22:16                 ` Jurgen Stroo
2005-06-20 11:13               ` VMX device models not getting created anymore? Mike Wray
2005-06-21 21:01                 ` Arun Sharma
2005-06-22  8:34                   ` Mike Wray
2005-06-20 10:52             ` Mike Wray
  -- strict thread matches above, loose matches on Subject: below --
2005-06-15 17:12 Ian Pratt
2005-06-15 18:02 ` Arun Sharma
2005-06-10 21:22 Arun Sharma

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=42B32FE6.2090308@intel.com \
    --to=arun.sharma@intel.com \
    --cc=m+Ian.Pratt@cl.cam.ac.uk \
    --cc=mike.wray@hp.com \
    --cc=xen-devel@lists.xensource.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.