Page 1 of 1

VBoxManage guestproperty - how to?

Posted: 12. Sep 2012, 14:39
by hackentrick
I'm trying to use the Guest properties feature to transfer a string between Host and Guest.
I managed to set a <value> for self created <property> on the Host side and could read it on the Guest side.

So far so good, but I don't understand the "flags", especially the TRANSIENT flag.
The help file tells me:
TRANSIENT: the value will not be stored with the VM data when the VM exits;
When i set a value with the TRANSIENT flag, the value is still there even after rebooting the Host. And i can find the <property> incl. <value> in the *.vbox file.
That's not what I would understand as "the value will not be stored........" ;)
So, is this a bug or just a misunderstanding ?

My goal is to transfer a string between Host and Guest and delete the string automatically by shutting down the Guest or the Host.
Has anybody an Idea how to do this?

Thank you in advance!
Alex

Re: VBoxManage guestproperty - how to?

Posted: 12. Sep 2012, 15:05
by mpack
ISTM the clipboard might be better for this?

Re: VBoxManage guestproperty - how to?

Posted: 13. Sep 2012, 10:29
by hackentrick
Hi mpack,

thank you for your answer.
I need to automate the transfer between Host and Guest. I think the clipboard is not the best choice for that.
Furthermore the clipboard is currently disabled, and I don't want to change this.
Any other idea?

Do you think the "Guest Properties" feature is broken? Then I should open a ticket.

Alex

... what is the meaning of ISTM ?

Re: VBoxManage guestproperty - how to?

Posted: 2. Oct 2012, 10:15
by hackentrick
Whoever is interested, just wanna let you know the TRANSIENT flag is working in Version 4.2.