linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: Chao Gao <chao.gao@intel.com>
To: David Hildenbrand <david@redhat.com>
Cc: <linux-coco@lists.linux.dev>,
	"linux-mm@kvack.org" <linux-mm@kvack.org>,
	KVM <kvm@vger.kernel.org>
Subject: Re: [Invitation] bi-weekly guest_memfd upstream call on 2024-11-14
Date: Thu, 14 Nov 2024 10:27:32 +0800	[thread overview]
Message-ID: <ZzVgFGBEUO7sU3E4@intel.com> (raw)
In-Reply-To: <08602ef7-6d28-471d-89c0-be3d29eb92a9@redhat.com>

>> With in-place conversion, QEMU can map shared memory and supply the virtual
>> address to VFIO to set up DMA mappings. From this perspective, in-place
>> conversion doesn't change or require any changes to the way QEMU interacts
>> with VFIO. So, the key for device assignment remains updating DMA mappings
>> accordingly during shared/private conversions. It seems that whether in-place
>> conversion is in use (i.e., whether shared memory is managed by guest_memfd or
>> not) doesn't require big changes to that proposal. Not sure if anyone thinks
>> otherwise. We want to align with you on the direction for device assignment
>> support for guest_memfd.
>> (I set aside the idea of letting KVM manage the IOMMU page table in the above
>>   analysis because we probably won't get that support in the near future)
>
>Right. So devices would also only be to access "shared" memory.

Yes, this is the situation without TDX-Connect support. Even when TDX-Connect
comes into play, devices will initially be attached in shared mode and later
converted to private mode. From this perspective, TDX-Connect will be built on
this shared device assignment proposal.

>
>> 
>> Could you please add this topic to the agenda?
>
>Will do. But I'm afraid the agenda for tomorrow is pretty packed, so we might
>not get to talk about it in more detail before the meeting in 2 weeks.

Understood. is there any QEMU patch available for in-place conversion? we would
like to play with it and also do some experiments w/ assigned devices. This
might help us identify more potential issues for discussion.

>
>> 
>> btw, the current time slot is not very convenient for us. If possible, could we
>> schedule the meeting one hour earlier, if this works for others? Two hours
>> earlier would be even better
>
>Time zones and daylight saving are confusing, so I'm relying on Google
>calender; it says that the meeting is going to be at 9am pacific time, which
>ends up being 6pm German time. I suspect that's 1am in China? :( I know that

Yes, this meeting starts at 1am in China.

>Gavin from Australia is also not able to join unfortunately ... something
>like 4am for him.
>
>We can discuss tomorrow if we could move it to 8am pacific time (which I
>would welcome as well :) ) for the next meeting. 7am pacific time is likely a
>bit of a stretch though.

Thanks a lot.


  reply	other threads:[~2024-11-14  2:27 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-11-12 12:30 David Hildenbrand
2024-11-13  6:06 ` Chao Gao
2024-11-13 15:04   ` David Hildenbrand
2024-11-14  2:27     ` Chao Gao [this message]
2024-12-24  4:21       ` Alexey Kardashevskiy
2024-12-24 11:27         ` David Hildenbrand
2024-12-27  4:21           ` Alexey Kardashevskiy
2024-11-27 16:43 ` [Invitation] bi-weekly guest_memfd upstream call on 2024-12-05 David Hildenbrand
2024-12-10 14:25   ` [Invitation] bi-weekly guest_memfd upstream call on 2024-12-12 David Hildenbrand
2024-12-11 13:53     ` Gowans, James
2025-01-08 10:45     ` [Invitation] bi-weekly guest_memfd upstream call on 2025-01-09 David Hildenbrand

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=ZzVgFGBEUO7sU3E4@intel.com \
    --to=chao.gao@intel.com \
    --cc=david@redhat.com \
    --cc=kvm@vger.kernel.org \
    --cc=linux-coco@lists.linux.dev \
    --cc=linux-mm@kvack.org \
    /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