From patchwork Mon Oct 10 17:55:09 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Herv=C3=A9_Poussineau?= X-Patchwork-Id: 13002882 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 18439C433FE for ; Mon, 10 Oct 2022 19:28:45 +0000 (UTC) Received: from localhost ([::1]:58804 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ohySC-0000xs-2b for qemu-devel@archiver.kernel.org; Mon, 10 Oct 2022 15:28:44 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:36868) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ohx0C-0006SN-Hs; Mon, 10 Oct 2022 13:55:46 -0400 Received: from iserv.reactos.org ([2a01:4f8:1c17:5ae1::1]:43264) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ohx0A-0003sh-5n; Mon, 10 Oct 2022 13:55:44 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=reactos.org ; s=25047; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-Id: Date:Subject:Cc:To:From:Sender:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: In-Reply-To:References:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=qaER5NZk+/6W931BLFEJSUAIffDLfi05TIbR0ZvtSqU=; b=qQFuBCudafku6+zO1YDS+7mTQh APF3z4JmRKQSuWX69SqFLwHiUcTNGUNPKo/qxnkghLZp/hVyFY19geydyvIHnrajBqIXnVCd7UHFk A/UX/NExAH7BHjWotM8kdQ7hk78bEdtyKc2ooA21N9RhfMtwwhD/IM3xABdviRnVYkaM=; Received: by iserv.reactos.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ohwzx-00015P-BP; Mon, 10 Oct 2022 17:55:29 +0000 From: =?utf-8?q?Herv=C3=A9_Poussineau?= To: kwolf@redhat.com, hreitz@redhat.com, qemu-block@nongnu.org Cc: qemu-devel@nongnu.org, =?utf-8?q?Herv=C3=A9_Poussineau?= Subject: [PATCH v2 0/2] Fix some problems with vvfat in R/W mode Date: Mon, 10 Oct 2022 19:55:09 +0200 Message-Id: <20221010175511.3414357-1-hpoussin@reactos.org> X-Mailer: git-send-email 2.36.2 MIME-Version: 1.0 Received-SPF: pass client-ip=2a01:4f8:1c17:5ae1::1; envelope-from=hpoussin@reactos.org; helo=iserv.reactos.org X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: "Qemu-devel" Hi, When testing vvfat in read-write mode, I came across some blocking problems when using Windows guests. This patchset is not here to fix all problems of vvfat, but only the main ones I encountered. First patch allows setting/resetting the 'volume dirty' flag on boosector, and the second one allows creating file names with spaces. Hervé Changes since v1: - updated patch 1 with remarks (modify in-memory copy, add comment about FAT32) Hervé Poussineau (2): vvfat: allow some writes to bootsector vvfat: allow spaces in file names block/vvfat.c | 28 ++++++++++++++++++++++++++-- 1 file changed, 26 insertions(+), 2 deletions(-)