|
|
3ab71e |
From qemu-devel-bounces+rjones=redhat.com@nongnu.org Tue Feb 20 14:15:07 2024
|
|
|
3ab71e |
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on
|
|
|
3ab71e |
rhmail.home.annexia.org
|
|
|
3ab71e |
X-Spam-Level:
|
|
|
3ab71e |
X-Spam-Status: No, score=-3.6 required=5.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED,
|
|
|
3ab71e |
FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_LOW,SPF_HELO_NONE,
|
|
|
3ab71e |
T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.2
|
|
|
3ab71e |
Delivered-To: rjones@gapps.redhat.com
|
|
|
3ab71e |
Received: from imap.gmail.com [2a00:1450:400c:c06::6c]
|
|
|
3ab71e |
by rhmail.home.annexia.org with IMAP (fetchmail-6.3.24)
|
|
|
3ab71e |
for <rjones@localhost> (single-drop); Tue, 20 Feb 2024 14:15:07 +0000 (GMT)
|
|
|
3ab71e |
Received: by 2002:adf:9c85:0:b0:337:c4af:7eda with SMTP id d5csp1377865wre;
|
|
|
3ab71e |
Tue, 20 Feb 2024 06:14:45 -0800 (PST)
|
|
|
3ab71e |
X-Forwarded-Encrypted: i=2;
|
|
|
3ab71e |
AJvYcCVmEOlyyvvd2pjxJlVqmm6wAsFvP2QS6RrV8WHdcPQ9BbSQtwkd4h6dvrOsn7U4WKwJ+S9i3pICvKhQ6p2IG/C63ey7jQaX6g==
|
|
|
3ab71e |
X-Google-Smtp-Source: AGHT+IE5mSiEO9H5JEkHNlHfhZDS2s9/kx/Heg/BJJ4bRe1DByou2O4YqVcehEElFPcfnv1EbTzP
|
|
|
3ab71e |
X-Received: by 2002:ac8:7e82:0:b0:42e:1a0c:5561 with SMTP id
|
|
|
3ab71e |
w2-20020ac87e82000000b0042e1a0c5561mr4869415qtj.11.1708438485118; Tue, 20 Feb
|
|
|
3ab71e |
2024 06:14:45 -0800 (PST)
|
|
|
3ab71e |
ARC-Seal: i=1; a=rsa-sha256; t=1708438485; cv=none; d=google.com;
|
|
|
3ab71e |
s=arc-20160816;
|
|
|
3ab71e |
b=ey2nB0Hz7p8/LRoN4jZjtpNuGZQ63SBhaAnxzcDl/T2RrxPzHh65rz1zmLdWzVCLkQ
|
|
|
3ab71e |
v+yYlKkQFU8NNp3UT4S4zYwfeGSE1kFImALTRCMrWHrkw9LZZZb2BeEsiziU3hlaWROV
|
|
|
3ab71e |
UVjYZdUHzbALZboflhpU0jK2UBurjafvHopQR7okuWukM2MkehE707uhOPscNCgZG8f9
|
|
|
3ab71e |
ZtrZX2StAQhzGbE+rGPka9c6AdsKBWYcVUbAe//oQeRl1NCUorQedrseU25E1dcobqwl
|
|
|
3ab71e |
80kRNnHYH+GOx7inmTEi8W2DSWb3g48Q0EEVWc/sfDB/f2t6PO4sELzmSvhytswBISkg D57A==
|
|
|
3ab71e |
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com;
|
|
|
3ab71e |
s=arc-20160816;
|
|
|
3ab71e |
h=content-transfer-encoding:sender:errors-to:list-subscribe:list-help
|
|
|
3ab71e |
:list-post:list-archive:list-unsubscribe:list-id:precedence
|
|
|
3ab71e |
:mime-version:message-id:date:subject:cc:to:from:delivered-to;
|
|
|
3ab71e |
bh=uNCdCIQzg/12W/RrXAVFQ1Isw/BMjvNQW4Y14ZuF5vg=;
|
|
|
3ab71e |
fh=k0ip+oilfdxldYSElE+D70uElArHhwV8D0y78HTEik8=;
|
|
|
3ab71e |
b=U8UgVOefnhiU8Ata8X00Xvx9Y6fexE3GSwQioOOaRIx9xhn1c0xjhLQ4N5DB19Cbt2
|
|
|
3ab71e |
U+lqbgtVw4xI915hyyC1NRT3w/ImfJLikpDpzXLpmbJCOMYj0J7qkTFPsPXBLMx/fDi8
|
|
|
3ab71e |
Ctg2koPP9m5EG4cAEIacP85/2vee28uKUFbdeB/B8DIsSIQYWGskfMNaqv2NOvW9O4Fj
|
|
|
3ab71e |
qyhK2YEImZY2KK3xW48LAtPW/oqqvfmtYmJn40otnhiU6eErtS71NJmccE1lca4P7xil
|
|
|
3ab71e |
dtz0Rqc3C8iTH8eayxAeT7xD4AFZznehPPWbMxK3C5kecZ8bnceNw5cmQqfvQRmR0yGB bNKA==;
|
|
|
3ab71e |
dara=google.com
|
|
|
3ab71e |
ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain
|
|
|
3ab71e |
of qemu-devel-bounces+rjones=redhat.com@nongnu.org designates 209.51.188.17
|
|
|
3ab71e |
as permitted sender)
|
|
|
3ab71e |
smtp.mailfrom="qemu-devel-bounces+rjones=redhat.com@nongnu.org"
|
|
|
3ab71e |
Return-Path: <qemu-devel-bounces+rjones=redhat.com@nongnu.org>
|
|
|
3ab71e |
Received: from us-smtp-inbound-delivery-1.mimecast.com
|
|
|
3ab71e |
(us-smtp-delivery-1.mimecast.com. [205.139.110.120]) by mx.google.com with
|
|
|
3ab71e |
ESMTPS id
|
|
|
3ab71e |
m9-20020ac86889000000b0042c2147b5d1si8208493qtq.474.2024.02.20.06.14.44 for
|
|
|
3ab71e |
<rjones@gapps.redhat.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384
|
|
|
3ab71e |
bits=256/256); Tue, 20 Feb 2024 06:14:45 -0800 (PST)
|
|
|
3ab71e |
Received-SPF: pass (google.com: domain of
|
|
|
3ab71e |
qemu-devel-bounces+rjones=redhat.com@nongnu.org designates 209.51.188.17 as
|
|
|
3ab71e |
permitted sender) client-ip=209.51.188.17;
|
|
|
3ab71e |
Authentication-Results: mx.google.com; spf=pass (google.com: domain of
|
|
|
3ab71e |
qemu-devel-bounces+rjones=redhat.com@nongnu.org designates 209.51.188.17 as
|
|
|
3ab71e |
permitted sender)
|
|
|
3ab71e |
smtp.mailfrom="qemu-devel-bounces+rjones=redhat.com@nongnu.org"
|
|
|
3ab71e |
Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com
|
|
|
3ab71e |
[66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS
|
|
|
3ab71e |
(version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id
|
|
|
3ab71e |
us-mta-656-0vwFszxbMwexl4X3OxB3MQ-1; Tue, 20 Feb 2024 09:14:43 -0500
|
|
|
3ab71e |
X-MC-Unique: 0vwFszxbMwexl4X3OxB3MQ-1
|
|
|
3ab71e |
Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.rdu2.redhat.com
|
|
|
3ab71e |
[10.11.54.3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256
|
|
|
3ab71e |
bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest
|
|
|
3ab71e |
SHA256) (No client certificate requested) by mimecast-mx02.redhat.com
|
|
|
3ab71e |
(Postfix) with ESMTPS id 792F8863732 for <rjones@gapps.redhat.com>; Tue, 20
|
|
|
3ab71e |
Feb 2024 14:14:43 +0000 (UTC)
|
|
|
3ab71e |
Received: by smtp.corp.redhat.com (Postfix) id 761ED11422B9; Tue, 20 Feb 2024
|
|
|
3ab71e |
14:14:43 +0000 (UTC)
|
|
|
3ab71e |
Delivered-To: rjones@redhat.com
|
|
|
3ab71e |
Received: from mimecast-mx02.redhat.com
|
|
|
3ab71e |
(mimecast10.extmail.prod.ext.rdu2.redhat.com [10.11.55.26]) by
|
|
|
3ab71e |
smtp.corp.redhat.com (Postfix) with ESMTPS id 3BBF311422B4 for
|
|
|
3ab71e |
<rjones@redhat.com>; Tue, 20 Feb 2024 14:14:43 +0000 (UTC)
|
|
|
3ab71e |
Received: from us-smtp-inbound-delivery-1.mimecast.com
|
|
|
3ab71e |
(us-smtp-delivery-1.mimecast.com [207.211.31.120]) (using TLSv1.3 with cipher
|
|
|
3ab71e |
TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature
|
|
|
3ab71e |
RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested)
|
|
|
3ab71e |
by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 1EC691C54037 for
|
|
|
3ab71e |
<rjones@redhat.com>; Tue, 20 Feb 2024 14:14:43 +0000 (UTC)
|
|
|
3ab71e |
Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by
|
|
|
3ab71e |
relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2,
|
|
|
3ab71e |
cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id
|
|
|
3ab71e |
us-mta-467-K7PF_hWUMIuYn6nNX_NhGQ-1; Tue, 20 Feb 2024 09:14:41 -0500
|
|
|
3ab71e |
X-MC-Unique: K7PF_hWUMIuYn6nNX_NhGQ-1
|
|
|
3ab71e |
Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with
|
|
|
3ab71e |
esmtp (Exim 4.90_1) (envelope-from <qemu-devel-bounces@nongnu.org>) id
|
|
|
3ab71e |
1rcQsH-00027z-CN; Tue, 20 Feb 2024 09:13:33 -0500
|
|
|
3ab71e |
Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with
|
|
|
3ab71e |
esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from
|
|
|
3ab71e |
<michael.vogt@gmail.com>) id 1rcNp8-0004k1-C7 for qemu-devel@nongnu.org; Tue,
|
|
|
3ab71e |
20 Feb 2024 05:58:06 -0500
|
|
|
3ab71e |
Received: from mail-wm1-x32a.google.com ([2a00:1450:4864:20::32a]) by
|
|
|
3ab71e |
eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim
|
|
|
3ab71e |
4.90_1) (envelope-from <michael.vogt@gmail.com>) id 1rcNp6-0004zw-Uh for
|
|
|
3ab71e |
qemu-devel@nongnu.org; Tue, 20 Feb 2024 05:58:06 -0500
|
|
|
3ab71e |
Received: by mail-wm1-x32a.google.com with SMTP id
|
|
|
3ab71e |
5b1f17b1804b1-412698cdd77so8973055e9.1 for <qemu-devel@nongnu.org>; Tue, 20
|
|
|
3ab71e |
Feb 2024 02:58:04 -0800 (PST)
|
|
|
3ab71e |
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net;
|
|
|
3ab71e |
s=20230601; t=1708426683; x=1709031483;
|
|
|
3ab71e |
h=content-transfer-encoding:mime-version:message-id:date:subject:cc
|
|
|
3ab71e |
:to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to;
|
|
|
3ab71e |
bh=uNCdCIQzg/12W/RrXAVFQ1Isw/BMjvNQW4Y14ZuF5vg=;
|
|
|
3ab71e |
b=anLCtG+2+69Viw2YFg93vXg3ZBx/82tUVKrUPKG0+3CgiM2BmSukRsME1L+upQkYAV
|
|
|
3ab71e |
Llc9ODBvHts9RRZU1MeybdSSRMnAHrXrIJ6HZP30K1cHOxyXB7DOp27hCfOelFBBffpM
|
|
|
3ab71e |
IVwjaKn+XnJ95IUMwMrhZ2T5Mcicw8tbRkCyDQwqrIpfpGWpOEq2HkEbe9T6z143sCBZ
|
|
|
3ab71e |
XYDpDvFRQauxu+SUoVeQjDxt1gm0XHFzwdGH/QjQ/2YDwkkB/yUtlaDHgXafwnzwow/8
|
|
|
3ab71e |
uHvdTZ9neIWDCUHEiHqRg9tHudOy1VhxH6T4jxzakzyTEit+mh2qB05/Yg2brj+hBo1u SaDg==
|
|
|
3ab71e |
X-Gm-Message-State: AOJu0YxyvxpfZhEbdDWqHqfThgFNUwkmqMXvDaxwAQH7HqdpGm5oVEbJ
|
|
|
3ab71e |
rzstVAif1eTUKOE4NOnCiMyJ9q/vEtd63Er7imeDi7lVutB0bby6fZFsj8mI
|
|
|
3ab71e |
X-Received: by 2002:a05:600c:4f43:b0:411:e86d:85a3 with SMTP id
|
|
|
3ab71e |
m3-20020a05600c4f4300b00411e86d85a3mr16304898wmq.16.1708426682414; Tue, 20
|
|
|
3ab71e |
Feb 2024 02:58:02 -0800 (PST)
|
|
|
3ab71e |
Received: from top.fritz.box (p5dd94bc2.dip0.t-ipconnect.de. [93.217.75.194])
|
|
|
3ab71e |
by smtp.gmail.com with ESMTPSA id
|
|
|
3ab71e |
co18-20020a0560000a1200b0033d4c3b0beesm7032427wrb.19.2024.02.20.02.58.01
|
|
|
3ab71e |
(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 20 Feb 2024
|
|
|
3ab71e |
02:58:02 -0800 (PST)
|
|
|
3ab71e |
From: Michael Vogt <michael.vogt@gmail.com>
|
|
|
3ab71e |
To: qemu-devel@nongnu.org
|
|
|
3ab71e |
Cc: Michael Vogt <michael.vogt@gmail.com>
|
|
|
3ab71e |
Subject: [PATCH] linux-user: Add FIFREEZE and FITHAW ioctls
|
|
|
3ab71e |
Date: Tue, 20 Feb 2024 11:57:21 +0100
|
|
|
3ab71e |
Message-ID: <20240220105726.8852-1-michael.vogt@gmail.com>
|
|
|
3ab71e |
MIME-Version: 1.0
|
|
|
3ab71e |
X-Spam_score_int: -20
|
|
|
3ab71e |
X-Spam_score: -2.1
|
|
|
3ab71e |
X-Spam_bar: --
|
|
|
3ab71e |
X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
|
|
|
3ab71e |
DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001,
|
|
|
3ab71e |
RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001,
|
|
|
3ab71e |
T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no
|
|
|
3ab71e |
X-Spam_action: no action
|
|
|
3ab71e |
X-Mailman-Approved-At: Tue, 20 Feb 2024 09:13:26 -0500
|
|
|
3ab71e |
X-BeenThere: qemu-devel@nongnu.org
|
|
|
3ab71e |
X-Mailman-Version: 2.1.29
|
|
|
3ab71e |
Precedence: list
|
|
|
3ab71e |
List-Id: <qemu-devel.nongnu.org>
|
|
|
3ab71e |
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/qemu-devel>,
|
|
|
3ab71e |
<mailto:qemu-devel-request@nongnu.org?subject=unsubscribe>
|
|
|
3ab71e |
List-Archive: <https://lists.nongnu.org/archive/html/qemu-devel>
|
|
|
3ab71e |
List-Post: <mailto:qemu-devel@nongnu.org>
|
|
|
3ab71e |
List-Help: <mailto:qemu-devel-request@nongnu.org?subject=help>
|
|
|
3ab71e |
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/qemu-devel>,
|
|
|
3ab71e |
<mailto:qemu-devel-request@nongnu.org?subject=subscribe>
|
|
|
3ab71e |
Errors-To: qemu-devel-bounces+rjones=redhat.com@nongnu.org
|
|
|
3ab71e |
Sender: qemu-devel-bounces+rjones=redhat.com@nongnu.org
|
|
|
3ab71e |
X-Mimecast-Impersonation-Protect: Policy=CLT - Impersonation Protection
|
|
|
3ab71e |
Definition;Similar Internal Domain=false;Similar Monitored External
|
|
|
3ab71e |
Domain=false;Custom External Domain=false;Mimecast External
|
|
|
3ab71e |
Domain=false;Newly Observed Domain=false;Internal User Name=false;Custom
|
|
|
3ab71e |
Display Name List=false;Reply-to Address Mismatch=false;Targeted Threat
|
|
|
3ab71e |
Dictionary=false;Mimecast Threat Dictionary=false;Custom Threat
|
|
|
3ab71e |
Dictionary=false
|
|
|
3ab71e |
X-Mimecast-Bulk-Signature: yes
|
|
|
3ab71e |
X-Mimecast-Spam-Signature: bulk
|
|
|
3ab71e |
X-Scanned-By: MIMEDefang 3.4.1 on 10.11.54.3
|
|
|
3ab71e |
X-Mimecast-Spam-Score: 0
|
|
|
3ab71e |
X-Mimecast-Originator: gmail.com
|
|
|
3ab71e |
Content-Transfer-Encoding: 8bit
|
|
|
3ab71e |
Content-Type: text/plain; charset="US-ASCII"; x-default=true
|
|
|
3ab71e |
Status: RO
|
|
|
3ab71e |
Content-Length: 1327
|
|
|
3ab71e |
Lines: 42
|
|
|
3ab71e |
|
|
|
3ab71e |
Add missing FIFREEZE and FITHAW ioctls.
|
|
|
3ab71e |
|
|
|
3ab71e |
Signed-off-by: Michael Vogt <michael.vogt@gmail.com>
|
|
|
3ab71e |
---
|
|
|
3ab71e |
linux-user/ioctls.h | 6 ++++++
|
|
|
3ab71e |
linux-user/syscall_defs.h | 3 +++
|
|
|
3ab71e |
2 files changed, 9 insertions(+)
|
|
|
3ab71e |
|
|
|
3ab71e |
diff --git a/linux-user/ioctls.h b/linux-user/ioctls.h
|
|
|
3ab71e |
index 071f7ca253..1aec9d5836 100644
|
|
|
3ab71e |
--- a/linux-user/ioctls.h
|
|
|
3ab71e |
+++ b/linux-user/ioctls.h
|
|
|
3ab71e |
@@ -134,6 +134,12 @@
|
|
|
3ab71e |
IOCTL(FICLONE, IOC_W, TYPE_INT)
|
|
|
3ab71e |
IOCTL(FICLONERANGE, IOC_W, MK_PTR(MK_STRUCT(STRUCT_file_clone_range)))
|
|
|
3ab71e |
#endif
|
|
|
3ab71e |
+#ifdef FIFREEZE
|
|
|
3ab71e |
+ IOCTL(FIFREEZE, IOC_W | IOC_R, TYPE_INT)
|
|
|
3ab71e |
+#endif
|
|
|
3ab71e |
+#ifdef FITHAW
|
|
|
3ab71e |
+ IOCTL(FITHAW, IOC_W | IOC_R, TYPE_INT)
|
|
|
3ab71e |
+#endif
|
|
|
3ab71e |
|
|
|
3ab71e |
IOCTL(FIGETBSZ, IOC_R, MK_PTR(TYPE_LONG))
|
|
|
3ab71e |
#ifdef CONFIG_FIEMAP
|
|
|
3ab71e |
diff --git a/linux-user/syscall_defs.h b/linux-user/syscall_defs.h
|
|
|
3ab71e |
index 77ba343c85..744fda599e 100644
|
|
|
3ab71e |
--- a/linux-user/syscall_defs.h
|
|
|
3ab71e |
+++ b/linux-user/syscall_defs.h
|
|
|
3ab71e |
@@ -943,6 +943,9 @@ struct target_rtc_pll_info {
|
|
|
3ab71e |
#define TARGET_FICLONE TARGET_IOW(0x94, 9, abi_int)
|
|
|
3ab71e |
#define TARGET_FICLONERANGE TARGET_IOW(0x94, 13, struct file_clone_range)
|
|
|
3ab71e |
|
|
|
3ab71e |
+#define TARGET_FIFREEZE TARGET_IOWR('X', 119, abi_int)
|
|
|
3ab71e |
+#define TARGET_FITHAW TARGET_IOWR('X', 120, abi_int)
|
|
|
3ab71e |
+
|
|
|
3ab71e |
/*
|
|
|
3ab71e |
* Note that the ioctl numbers for FS_IOC_<GET|SET><FLAGS|VERSION>
|
|
|
3ab71e |
* claim type "long" but the actual type used by the kernel is "int".
|
|
|
3ab71e |
--
|
|
|
3ab71e |
2.43.0
|
|
|
3ab71e |
|
|
|
3ab71e |
|