VirtualBox

#21113 closed defect (fixed)

VBoxManage controlvm 'setlinkstateN' and 'nictraceN' don't work in 7.0 => fixed in svn/7.0.0

Reported by: HaotongYang Owned by: paulson
Component: VM control Version:
Keywords: Cc:
Guest type: other Host type: other

Description

"C:\Program Files\Oracle\VirtualBox\VBoxmanage.exe" controlvm "VMname" setlinkstate1 on Oracle VM VirtualBox Command Line Management Interface Version 7.0.0_BETA2 Copyright (C) 2005-2022 Oracle and/or its affiliates

VBoxManage.exe: error: Invalid link state 'on'.

Usage:

VBoxManage controlvm <uuid | vmname> setlinkstateN <on | off>


"C:\Program Files\Oracle\VirtualBox\VBoxmanage.exe" controlvm "VMname" nictrace1 on Oracle VM VirtualBox Command Line Management Interface Version 7.0.0_BETA2 Copyright (C) 2005-2022 Oracle and/or its affiliates

VBoxManage.exe: error: Invalid nictrace1 argument 'on'.

Usage:

VBoxManage controlvm <uuid | vmname> nictraceN <on | off>

Change History (5)

comment:1 by HaotongYang, 21 months ago

7.0.0_BETA2r153583

comment:2 by paulson, 21 months ago

Owner: set to paulson
Status: newassigned
Summary: VBoxManage controlvm errorVBoxManage controlvm 'setlinkstateN' and 'nictraceN' doesn't work in 7.0

Thanks for the report. The VBoxManage controlvm suboptions 'setlinkstateN' and 'nictraceN' are indeed unable to parse the boolean argument supplied due to accidentally using the wrong argument index as a result of some recent changes. This has been addressed in r153817 of the development branch of VirtualBox and will be part of any development snapshot Testbuilds which includes this revision.

comment:3 by paulson, 21 months ago

Summary: VBoxManage controlvm 'setlinkstateN' and 'nictraceN' doesn't work in 7.0VBoxManage controlvm 'setlinkstateN' and 'nictraceN' don't work in 7.0

comment:4 by paulson, 21 months ago

This has been addressed in the 7.0.0_BETA3 as well:

https://download.virtualbox.org/virtualbox/7.0.0_BETA3/

comment:5 by paulson, 20 months ago

Resolution: fixed
Status: assignedclosed
Summary: VBoxManage controlvm 'setlinkstateN' and 'nictraceN' don't work in 7.0VBoxManage controlvm 'setlinkstateN' and 'nictraceN' don't work in 7.0 => fixed in svn/7.0.0

This issue is specific to the VirtualBox 7.0 BETA, i.e. VirtualBox 6.1.x is not impacted. This issue has been resolved in VirtualBox 7.0.0 which was released on October 10th, 2022 and is available for download here.

Note: See TracTickets for help on using tickets.

© 2023 Oracle
ContactPrivacy policyTerms of Use