xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
From: Liu Yuan <yetiboy1230@gmail.com>
To: konrad.wilk@oracle.com
Cc: xen-devel@lists.xensource.com
Subject: Re: [PATCH] Simulates the MSIx table read operation
Date: Wed, 11 Aug 2010 00:04:15 +0800	[thread overview]
Message-ID: <AANLkTi=g3kjHvkngV9xyrKkJaUqpuYmTtsccsKMmr8y5@mail.gmail.com> (raw)


[-- Attachment #1.1: Type: text/plain, Size: 793 bytes --]

>I am having a hard time understanding this.  Is the issue here that
>read/write of the MSI-X table is being done in QEMU, and it is much
>better to do so in the hypervisor which traps already the mask/unmaks
>operation so that QEMU is not overwhelmed by having to do this?

Yes, having QEMU do this read operation,it needs much more CPU cycles
and longer latency.

[before patch]
read path: Guest -> Xen -> QEMU -> XEN -> Guest
[after patch]
read path: Guest -> Xen -> Guest

Xen traps all the MSIx table operation. And before this patch, only
mask/unmask is simulated in
Xen. With this patch applied, READ will be simulated and WRITE will
*still* be forwarded to QEMU.

>
>With this in patch in place, wouldn't QEMU still do the read operation?

No

Thanks,
Yuan

-- 
I am Multician, really

[-- Attachment #1.2: Type: text/html, Size: 935 bytes --]

[-- Attachment #2: Type: text/plain, Size: 138 bytes --]

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel

             reply	other threads:[~2010-08-10 16:04 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-08-10 16:04 Liu Yuan [this message]
  -- strict thread matches above, loose matches on Subject: below --
2010-08-04  9:08 [PATCH] Simulates the MSIx table read operation Liu, Yuan B
2010-08-04  8:12 Liu, Yuan B
2010-08-04  2:36 Liu, Yuan B
2010-08-04  2:35 Liu, Yuan B
2010-08-06 15:01 ` Konrad Rzeszutek Wilk

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='AANLkTi=g3kjHvkngV9xyrKkJaUqpuYmTtsccsKMmr8y5@mail.gmail.com' \
    --to=yetiboy1230@gmail.com \
    --cc=konrad.wilk@oracle.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).