<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;"><FONT color=#008000 size=2><FONT color=#008000 size=2>
<DIV>/**</DIV>
<DIV>* The guest property flag values which are currently accepted.</DIV>
<DIV>*/</DIV></FONT></FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2>
<DIV>enum</FONT></FONT><FONT size=2> ePropFlags</DIV>
<DIV>{</DIV>
<DIV>NILFLAG = 0,</DIV>
<DIV>TRANSIENT = RT_BIT(1),</DIV>
<DIV>RDONLYGUEST = RT_BIT(2),</DIV>
<DIV>RDONLYHOST = RT_BIT(3),</DIV>
<DIV>READONLY = RDONLYGUEST | RDONLYHOST,</DIV>
<DIV>ALLFLAGS = TRANSIENT | READONLY</DIV>
<DIV>};</DIV>
<DIV></FONT> </DIV>
<DIV>is TRANSIENT the flag to use? it seems won't persist to xml after vm is shutdown. This is better than the case without any flags.</DIV>
<DIV><BR><BR>--- On <B>Wed, 7/14/10, Michael Thayer <I><michael.thayer@oracle.com></I></B> wrote:<BR></DIV>
<BLOCKQUOTE style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: rgb(16,16,255) 2px solid"><BR>From: Michael Thayer <michael.thayer@oracle.com><BR>Subject: Re: [vbox-dev] temporary guest property?<BR>To: "Huihong Luo" <huisinro@yahoo.com><BR>Cc: vbox-dev@virtualbox.org<BR>Date: Wednesday, July 14, 2010, 8:03 AM<BR><BR>
<DIV class=plainMail>Hello Huihong,<BR><BR>Le mercredi 14 juillet 2010 à 07:57 -0700, Huihong Luo a écrit :<BR>> Do you meant vbox already supports temp property? or need some more<BR>> work.<BR>> <BR>> However, when I call IMachine::SetGuestProperty(), then I open the<BR>> machine settings file, I see it inside the xml file. Is this correct? <BR>Currently we don't support properties which aren't written to the XML,<BR>because for us "temporary" means until the VM is fully shut down, but it<BR>still has to last over saving and restoring the VM.  So - needs more<BR>work.<BR><BR>I just wanted to point out that implication to you.<BR><BR>Regards,<BR><BR>Michael<BR>-- <BR>ORACLE Deutschland B.V. & Co. KG   Michael Thayer<BR>Werkstrasse 24                     VirtualBox engineer<BR>71384 Weinstadt, Germany           mailto:<A
 href="http://us.mc343.mail.yahoo.com/mc/compose?to=michael.thayer@sun.com" ymailto="mailto:michael.thayer@sun.com">michael.thayer@sun.com</A><BR><BR>Hauptverwaltung: Riesstr. 25, D-80992 München<BR>Registergericht: Amtsgericht München, HRA 95603<BR><BR>Komplementärin: ORACLE Deutschland Verwaltung B.V.<BR>Rijnzathe 6, 3454PV De Meern, Niederlande<BR>Handelsregister der Handelskammer Midden-Niederlande, Nr. 30143697<BR>Geschäftsführer: Jürgen Kunz, Marcel van de Molen, Alexander van der Ven <BR><BR><BR></DIV></BLOCKQUOTE></td></tr></table>