[vbox-dev] Guest property limit?

Huihong Luo huisinro at yahoo.com
Tue Aug 17 15:54:43 GMT 2010


Thanks for the info.
 
I see the max # of guest properties are 256, which explains the error messages I was getting. Since Windows 7 guest could easily have 256 shortcuts under its Start menu.
 
Will try to increase the limit, and see if perf is still acceptable.

--- On Tue, 8/17/10, Knut St. Osmundsen <knut.osmundsen at oracle.com> wrote:


From: Knut St. Osmundsen <knut.osmundsen at oracle.com>
Subject: Re: [vbox-dev] Guest property limit?
To: vbox-dev at virtualbox.org
Date: Tuesday, August 17, 2010, 4:25 AM


Huihong Luo wrote:
> It seems there is a limit for the amount of guest properties can be
> stored inside the xml file. Is this true? if so, what is the limit?
>  
> We store the shortcuts inside the vm as guest properties, and sometimes
> gettting errors saying over limit.
> 

You can find the limits here:

http://www.virtualbox.org/browser/trunk/include/VBox/HostServices/GuestPropertySvc.h#L45

They are relatively restrictive at the moment to prevent creating a DoS
vector and also because the code/data isn't fully optimized yet (linear
searches, etc).

-- 

Kind regards / Mit freundlichen Gruessen / Vennlig hilsen,
  bird

--

ORACLE Deutschland B.V. & Co. KG  Knut St. Osmundsen
Werkstrasse 24                    Senior Staff Engineer, VirtualBox
71384 Weinstadt, Germany          mailto:bird at sun.com

Hauptverwaltung: Riesstr. 25, D-80992 Muenchen
Registergericht: Amtsgericht Muenchen, HRA 95603

Komplementaerin: ORACLE Deutschland Verwaltung B.V.
Rijnzathe 6, 3454PV De Meern, Niederlande
Handelsregister der Handelskammer Midden-Niederlande, Nr. 30143697
Geschaeftsfuehrer: J. Kunz, M. van de Molen, A. van der Ven


_______________________________________________
vbox-dev mailing list
vbox-dev at virtualbox.org
http://vbox.innotek.de/mailman/listinfo/vbox-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.virtualbox.org/pipermail/vbox-dev/attachments/20100817/a6489c88/attachment.html>


More information about the vbox-dev mailing list