Am 26.11.2025 um 10:59 hat Clément Chigot geschrieben: > On Fri, Nov 14, 2025 at 2:47 PM Clément Chigot <[email protected]> wrote: > > On Fri, Nov 14, 2025 at 2:25 PM BALATON Zoltan <[email protected]> wrote: > > > On Fri, 14 Nov 2025, Clément Chigot wrote: > > > > 1. "mbr" vs "partitioned". > > > > I do think "partitioned" is clearer, a bit more casual friendly. "mbr" > > > > requires knowledge about FAT format, while what's a partition should > > > > be known by a wider audience. > > > > Side note, in V3, I'll remove the "unpartitioned" keyword to simply > > > > replace it by "partitoned=false" (I wasn't aware such an obvious > > > > possibility was working...). So we might even call it > > > > "partition/partitions=true|false".
As I said, either one works for me. > > > > 2. The default value. Should it be "false" for @floppy ? > > > > IMO, having a default value independent of other arguments is always > > > > better. Hence, I'll push for keeping "partitioned=true" as the > > > > default, and having users forcing "partitioned=false" for floppy (an > > > > error being raised otherwise). As we'll probably change the default > > > > behavior with floppy anyway (cf patch 2), I don't think it will hurt a > > > > lot to make users passing a new flag. I'm very much in favour of defaulting to partitioned for hard disks and unpartitioned for floppies. This is not only the option that stays most compatible with what we have in existing QEMU versions, but also the most intuitive setting. With the change to the default behaviour with floppy, we were forced to pick between options that all meant changing the default, so I proposed taking the most intuitive default there, too: I'm relatively sure that when you mention floppy, most people will think of 1.44 MB first. > > > 2. Having different defaults for floppy or disk would keep existing > > > command lines working. Otherwise why not make partitioned=false the > > > default and let users who need it set explicitly. That would also > > > work for most cases without having to type out this option. Slightly better than an unconditional partitioned=true default and getting partitioned floppies, which is most definitely unexpected. But it's still not usually the thing the user will want with hard disks, so as I said above, I prefer the conditional default here. Kevin
