kvm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* qemu/hw/device-assignment: questions about msix_table_page
@ 2009-04-27 13:13 Michael S. Tsirkin
  0 siblings, 0 replies; 18+ messages in thread
From: Michael S. Tsirkin @ 2009-04-27 13:13 UTC (permalink / raw)
  To: Sheng Yang; +Cc: Avi Kivity, Marcelo Tosatti, kvm

Sheng, Marcelo,
I've been reading code in qemu/hw/device-assignment.c, and
I have a couple of questions about msi-x implementation:
1. What is the reason that msix_table_page is allocated
   with mmap and not with e.g. malloc?
2. msix_table_page has the guest view of the msix table for the device.
   However, even this memory isn't mapped into guest directly, instead
   msix_mmio_read/msix_mmio_write perform the write in qemu.
   Won't it be possible to map this page directly into
   guest memory, reducing the overhead for table writes?

Could you shed light on this for me please?
Thanks,

( ------)
( Resending with a sane subject/reply-to address. )
( Sorry about multiple copies.)

-- 
MST

^ permalink raw reply	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2009-05-06  8:17 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <20090427104117.GB29082@redhat.com>
2009-04-27 13:16 ` Sheng Yang
2009-04-27 13:51   ` qemu/hw/device-assignment: questions about msix_table_page Michael S. Tsirkin
2009-04-27 14:03     ` Sheng Yang
2009-04-27 14:15       ` Michael S. Tsirkin
2009-04-27 14:30         ` Sheng Yang
2009-04-27 14:35           ` Michael S. Tsirkin
2009-05-05  9:51           ` Michael S. Tsirkin
2009-05-05 10:19             ` Marcelo Tosatti
2009-05-05 10:34               ` Michael S. Tsirkin
2009-05-05 10:49                 ` Marcelo Tosatti
2009-05-05 11:45                   ` Michael S. Tsirkin
2009-05-05 11:51                     ` Marcelo Tosatti
2009-05-05 12:46                   ` Michael S. Tsirkin
2009-05-06  2:35                     ` Sheng Yang
2009-05-06  7:31                       ` Michael S. Tsirkin
2009-05-06  8:17                         ` Sheng Yang
2009-04-28  9:31       ` Avi Kivity
2009-04-27 13:13 Michael S. Tsirkin

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).