VirtualBox

Ignore:
Timestamp:
Aug 27, 2009 10:13:42 AM (15 years ago)
Author:
vboxsync
Message:

VBoxService: Added command execution thread (only used for sysprep spawning used by the VDI guys yet).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/ConsoleImpl2.cpp

    r22480 r22503  
    18881888            parms[1].u.pointer.addr = (void *)VBoxSVNRevString();
    18891889            parms[1].u.pointer.size = strlen(VBoxSVNRevString()) + 1;
     1890            parms[2].type = VBOX_HGCM_SVC_PARM_PTR;
     1891            parms[2].u.pointer.addr = (void *)"TRANSIENT, RDONLYGUEST";
     1892            parms[2].u.pointer.size = sizeof("TRANSIENT, RDONLYGUEST");
     1893            pConsole->mVMMDev->hgcmHostCall ("VBoxGuestPropSvc", guestProp::SET_PROP_HOST, 3, &parms[0]);
     1894
     1895            /* Initialize the remote execution properties for ready-on access by the guest */
     1896            Utf8Str utf8ValEmpty = "";
     1897            parms[0].type = VBOX_HGCM_SVC_PARM_PTR;
     1898            parms[0].u.pointer.addr = (void *)"/VirtualBox/HostGuest/SysprepArgs";
     1899            parms[0].u.pointer.size = sizeof("/VirtualBox/HostGuest/SysprepArgs");
     1900            parms[1].type = VBOX_HGCM_SVC_PARM_PTR;
     1901            parms[1].u.pointer.addr = (void*)utf8ValEmpty.c_str();
     1902            parms[1].u.pointer.size = (uint32_t)utf8ValEmpty.length() + 1;
    18901903            parms[2].type = VBOX_HGCM_SVC_PARM_PTR;
    18911904            parms[2].u.pointer.addr = (void *)"TRANSIENT, RDONLYGUEST";
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette