[vbox-dev] Question about VirtualBox SDK-regarding about SetIOBandwidthMax();
John Lee
skjl25 at gmail.com
Thu Dec 2 18:00:49 PST 2010
Hello,
I'm trying to use the function SetIOBandwidthMax within the VirtualBox
SDK 3.2.0. Somehow, I'm having a problem with making it work. I'm trying
to set a maximum bandwidth of the VM to 1Mbps to test network throughput
for the VM.
The code that I wrote is the following:
IMachine* machine1;
rc=machine1->vtbl->SetIoBandwidthMax(machine1.machine,temp);//where the
temp val is set to 1.
But when I'm getting the rc value, it comes out as not successful.
Could you help me with this problem?
Thank you for your help in advance.
Sincerely,
John Lee
More information about the vbox-dev
mailing list