[vbox-dev] [PATCH] nonrotational storageattach flag persistence

Frank Mehnert frank.mehnert at oracle.com
Fri Nov 16 15:00:37 GMT 2012


Hi Martin,

On Friday 16 November 2012 00:44:33 Zítek Martin wrote:
+> The nonrotational flag set either by calling "VBoxManage storageattach ...
> --nonrotational on" or by checking the "Solid-state drive" checkbox in the
> VM VirtualBox Manager is not persisted in the Virtual Machine config file
> *.vbox.
> 
> The following path fixes this bug.
> This patch is contributed under the MIT license.
> 
> Index: src/VBox/Main/src-server/MachineImpl.cpp
> ===================================================================
> --- src/VBox/Main/src-server/MachineImpl.cpp	(revision 43868)
> +++ src/VBox/Main/src-server/MachineImpl.cpp	(working copy)
> @@ -9984,6 +9984,7 @@
>                  dev.uuid = pMedium->getId();
>              dev.fPassThrough = pAttach->getPassthrough();
>              dev.fTempEject = pAttach->getTempEject();
> +            dev.fNonRotational = pAttach->getNonRotational();
>              dev.fDiscard = pAttach->getDiscard();
>          }

thanks for this report! I've fixed that bug in trunk, and the next
maintenance release will contain the fix as well. Actually this was
an accident typo which was introduced in VBox 4.2.0.

Thanks again,

Frank
-- 
Dr.-Ing. Frank Mehnert | Software Development Director, VirtualBox
ORACLE Deutschland B.V. & Co. KG | Werkstr. 24 | 71384 Weinstadt, Germany

Hauptverwaltung: Riesstr. 25, D-80992 München
Registergericht: Amtsgericht München, HRA 95603
Geschäftsführer: Jürgen Kunz

Komplementärin: ORACLE Deutschland Verwaltung B.V.
Hertogswetering 163/167, 3543 AS Utrecht, Niederlande
Handelsregister der Handelskammer Midden-Niederlande, Nr. 30143697
Geschäftsführer: Alexander van der Ven, Astrid Kepper, Val Maher
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://www.virtualbox.org/pipermail/vbox-dev/attachments/20121116/2d92bd27/attachment.sig>


More information about the vbox-dev mailing list