From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 30B7F33FE for ; Wed, 13 Nov 2024 15:04:56 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=170.10.129.124 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1731510298; cv=none; b=WWAoxeb6g1B8KqHEZPl3uJl/q/tCasd7EcAK3AUCQiCsKDimsjsABCeIc2vUSIoZhAd79y2WGbw0z4rBsRRwJgJmps6FAdf2GgS8b2UO4tOKDBsjMPDzImeDjiRM7xHy3Lxf/IFmwSawmU2UXrIcvCTTPRqBxgrGDZgVLVMM1dQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1731510298; c=relaxed/simple; bh=UbbICofoKZxeLkACx6J5opPe3oyUw47YmLrnr5g7JaU=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=efCq4TmDbNQ0Uae/+aXYWfYjxjtGKOVoR4mEUFLeNVuwrIJF0RaRTXSAwdHiTtoUxkArP85QxVofvYf53NSA5zxiQ2h+sViCOqE7lQC7Tq2RY9oPFGjt7CSB/JTyUv/fx2w8Bx8g7kKUPo9T+oSeIP3y6HKYdvTHHaUVeUFymNU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com; spf=pass smtp.mailfrom=redhat.com; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b=MRJc9Mr7; arc=none smtp.client-ip=170.10.129.124 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=redhat.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="MRJc9Mr7" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1731510296; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:autocrypt:autocrypt; bh=O6DydnDTYCCmuX7cBoqwy7GbK0nUFRDMFdcolkDfy4k=; b=MRJc9Mr7lUMejXUfkJiG+mKzzXmN1uTULuBQ6Y7nVQl/lPye1iIJyfSOhthK+h37p281DP +kSoSpmiF+Oijcka7bV41dC9ZaGoFf584/F3YCX2iercGtNgqjk7G7zfqbkw/Yn7vhsYxQ UiuGc0wEUogZhCMcUGxbkwKYd0oCi8c= Received: from mail-wr1-f69.google.com (mail-wr1-f69.google.com [209.85.221.69]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-35-lXmOP2AOPzmaTZ-OVzs19w-1; Wed, 13 Nov 2024 10:04:54 -0500 X-MC-Unique: lXmOP2AOPzmaTZ-OVzs19w-1 X-Mimecast-MFC-AGG-ID: lXmOP2AOPzmaTZ-OVzs19w Received: by mail-wr1-f69.google.com with SMTP id ffacd0b85a97d-37d52ccc50eso3808407f8f.3 for ; Wed, 13 Nov 2024 07:04:54 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1731510294; x=1732115094; h=content-transfer-encoding:in-reply-to:organization:autocrypt :content-language:from:references:cc:to:subject:user-agent :mime-version:date:message-id:x-gm-message-state:from:to:cc:subject :date:message-id:reply-to; bh=O6DydnDTYCCmuX7cBoqwy7GbK0nUFRDMFdcolkDfy4k=; b=sJj3T6N7g4tIzK8GwZDEZ4V+VZdAMfe7modcAlpgic5Txh4ML8Kd7Ar0cWCRKsDGfg dJ2CbfAnasnO7O8yTXqsQNwW2zakzC8My8mydxELXLmo/HBeVKmLDG59FrOkxov7Y8EJ 3FOhwlFkFBO8czn3vXEusdOcKp0/3Kes6UZFFJTBp4H8BM7jRk2vZJFXHJlCWflqGQ13 RSC+TH7ilD6Gd3GOPawfQs+YRzYUkuBnEXw8WFqQb495mZ/9AOF3C9ngpvzEz28/yh3N RlbGBug2Gd/zDq0nNUc3XtcphYYcN/wXqNITji1rfKbSjzhZsVWs8iQhRu0dhql+ZPBo 5TIQ== X-Gm-Message-State: AOJu0YxJg8s+wGjSY/snt5GBivjphQZLz6SxbZc6HWAsEhxkhYwA2LsB 6QCjDQ1YwxQ5iNNUh0618oM5GNP+/TH6JwLRSakKKUh3zjb4xAbhk0miBUXk5LPL89rwYEEagGP GJFtxqMVnJGyamuGDsPkMF/DM9g+ziMe1HLQrLBVtMnzi2tcACd09rsc/2i8= X-Received: by 2002:a05:600c:8715:b0:431:93d8:e1a1 with SMTP id 5b1f17b1804b1-432b751bcc2mr174244405e9.27.1731510293728; Wed, 13 Nov 2024 07:04:53 -0800 (PST) X-Google-Smtp-Source: AGHT+IEfHHTm+7oQ/+i1vNYdIFk65/fAQuK7ZBw0Q0v9DyWapPg1cc7VTbkdsQhOMPZ0xcRlvvdSqw== X-Received: by 2002:a05:600c:8715:b0:431:93d8:e1a1 with SMTP id 5b1f17b1804b1-432b751bcc2mr174243985e9.27.1731510293251; Wed, 13 Nov 2024 07:04:53 -0800 (PST) Received: from ?IPV6:2003:cb:c708:1500:d584:7ad8:d3f7:5539? (p200300cbc7081500d5847ad8d3f75539.dip0.t-ipconnect.de. [2003:cb:c708:1500:d584:7ad8:d3f7:5539]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-432d55051easm28333095e9.24.2024.11.13.07.04.52 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 13 Nov 2024 07:04:52 -0800 (PST) Message-ID: <08602ef7-6d28-471d-89c0-be3d29eb92a9@redhat.com> Date: Wed, 13 Nov 2024 16:04:51 +0100 Precedence: bulk X-Mailing-List: linux-coco@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [Invitation] bi-weekly guest_memfd upstream call on 2024-11-14 To: Chao Gao Cc: linux-coco@lists.linux.dev, "linux-mm@kvack.org" , KVM References: <6f2bfac2-d9e7-4e4a-9298-7accded16b4f@redhat.com> From: David Hildenbrand Autocrypt: addr=david@redhat.com; keydata= xsFNBFXLn5EBEAC+zYvAFJxCBY9Tr1xZgcESmxVNI/0ffzE/ZQOiHJl6mGkmA1R7/uUpiCjJ dBrn+lhhOYjjNefFQou6478faXE6o2AhmebqT4KiQoUQFV4R7y1KMEKoSyy8hQaK1umALTdL QZLQMzNE74ap+GDK0wnacPQFpcG1AE9RMq3aeErY5tujekBS32jfC/7AnH7I0v1v1TbbK3Gp XNeiN4QroO+5qaSr0ID2sz5jtBLRb15RMre27E1ImpaIv2Jw8NJgW0k/D1RyKCwaTsgRdwuK Kx/Y91XuSBdz0uOyU/S8kM1+ag0wvsGlpBVxRR/xw/E8M7TEwuCZQArqqTCmkG6HGcXFT0V9 PXFNNgV5jXMQRwU0O/ztJIQqsE5LsUomE//bLwzj9IVsaQpKDqW6TAPjcdBDPLHvriq7kGjt WhVhdl0qEYB8lkBEU7V2Yb+SYhmhpDrti9Fq1EsmhiHSkxJcGREoMK/63r9WLZYI3+4W2rAc UucZa4OT27U5ZISjNg3Ev0rxU5UH2/pT4wJCfxwocmqaRr6UYmrtZmND89X0KigoFD/XSeVv jwBRNjPAubK9/k5NoRrYqztM9W6sJqrH8+UWZ1Idd/DdmogJh0gNC0+N42Za9yBRURfIdKSb B3JfpUqcWwE7vUaYrHG1nw54pLUoPG6sAA7Mehl3nd4pZUALHwARAQABzSREYXZpZCBIaWxk ZW5icmFuZCA8ZGF2aWRAcmVkaGF0LmNvbT7CwZgEEwEIAEICGwMGCwkIBw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9fJjKWRbveQgUFCpe1sa77LAw+XFrKmBHXp9ZVIe90RMe2tRL06BGiRZr jPrnvUsUUsjRoRNJjKKA/REq+sAnhkNPPZ/NNMjaZ5b8Tovi8C0tmxiCHaQYqj7G2rgnT0kt WNyWQQ== Organization: Red Hat In-Reply-To: X-Mimecast-Spam-Score: 0 X-Mimecast-MFC-PROC-ID: TGyaELh3WUPCjI7a1UpI31ILykKv4Ha5Rj5q0ojJNY0_1731510294 X-Mimecast-Originator: redhat.com Content-Language: en-US Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 13.11.24 07:06, Chao Gao wrote: > On Tue, Nov 12, 2024 at 01:30:06PM +0100, David Hildenbrand wrote: >> Hi, >> >> the next guest_memfd upstream call will happen this Thursday, 2024-11-14 >> at at 9:00 - 10:00am (GMT-08:00) Pacific Time - Vancouver. >> >> We'll be using the following Google meet: >> http://meet.google.com/wxp-wtju-jzw >> >> The meeting notes are linked from the google calendar invitation. If you >> want an invitation that also covers all future meetings, just write me a >> mail. >> >> In this meeting we'll discuss: >> * fbind() and NUMA mempolicy for guest_memfd >> * Persisting guest_memfd across reboot / guest_memfs >> * guest_memfd use cases for a PFN range allocator >> >> And we'll continue our discussion on: >> * Challenges with supporting huge pages >> * Challenges with shared vs. private conversion >> * guest_memfd as a "library" >> >> To put something to discuss onto the agenda, reply to this mail or add >> them to the "Topics/questions for next meeting(s)" section in the >> meeting notes as a comment. > > Hi David, Hi! > > We would like to discuss how to adapt the proposal for shared device assignment > [1] to recent guest_memfd changes, such as the support of in-place conversion. Makes sense. > > 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. > > 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. > > 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 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. -- Cheers, David / dhildenb