Received: from eggs.gnu.org ([2001:4830:134:3::10]:36233) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z5sjN-0003E6-21 for qemu-devel@nongnu.org; Fri, 19 Jun 2015 05:37:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z5sjM-0000FX-7B for qemu-devel@nongnu.org; Fri, 19 Jun 2015 05:37:01 -0400 Received: from proxmox.maurer-it.com ([94.136.31.133]:61917) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z5sjM-0000Es-1S for qemu-devel@nongnu.org; Fri, 19 Jun 2015 05:37:00 -0400 Received: from proxmox.maurer-it.com (localhost.localdomain [127.0.0.1]) by proxmox.maurer-it.com (Proxmox) with ESMTP id 6216DAD0929 for ; Fri, 19 Jun 2015 11:36:29 +0200 (CEST) From: Wolfgang Bumiller Date: Fri, 19 Jun 2015 11:35:28 +0200 Message-Id: <1434706529-13895-1-git-send-email-w.bumiller@proxmox.com> Subject: [Qemu-devel] [PATCH v2 0/1] vvfat label option updated List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org * Till/Until changed * Added (since 2.4) to json file * Added the 11-byte limit description. Without mentioning the trailing spaces in the json file since the guest OS doesn't expose them to the user. However, I mentioned it in the commit message. The limit comes from the FAT structure, but for completeness' sake I looked up the FAT descriptions a little more. Turns out at least FAT32 labels are "supposed" to be stored with uppercase letters, and seem to have some theoretical restrictions on the used characters, but neither linux nor windows guests seem to care on the OS side. And at least mkfs.vfat's -n option only warns about lowercase letters, but doesn't error. Theoretically you're also not allowed to start a label with a space, while mkfs.vfat neither warns nor errors about this. So I decided to not add any additional checks and only mentioned it in the json's doc string. Wolfgang Bumiller (1): vvfat: add a label option block/vvfat.c | 25 ++++++++++++++++++++++--- qapi/block-core.json | 6 +++++- 2 files changed, 27 insertions(+), 4 deletions(-) -- 2.1.4