VirtualBox

Opened 15 years ago

Closed 15 years ago

#3442 closed defect (wontfix)

Machine.LastStateChange not updated when Guest initiates a reboot

Reported by: James Lucas Owned by:
Component: other Version: VirtualBox 2.1.4
Keywords: Cc:
Guest type: other Host type: other

Description

When rebooting a VM through the guest (eg rebooting after updating Guest Additions) the Machine->LastStateChange timestamp does not get updated even though the machines does a reboot (And a state change is logged in the vbox.log Changing the VM state from 'RUNNING' to 'RESETTING').

Change History (4)

comment:1 by James Lucas, 15 years ago

Any comment on this bug report?

comment:2 by Sander van Leeuwen, 15 years ago

Still valid in more recent versions? (2.2.4 or 3.0.2)

comment:3 by James Lucas, 15 years ago

Yes this is still valid in 3.0.2

This can be replicated by either triggering a reboot from within the Guest, or even just doing VBoxManage controlvm <vmname> reset

The VMStateChangeTime variable does not get updated even though it goes from RUNNING to RESETTING etc as per my original bug report description. I guess the main thing I need to find out is this by design or a bug. If it is by design, can the behaviour be modified to handle this case. I would think that if a machine goes back through the BIOS then that is a machine state change big enough to warrant updating the VMStateChangeTime variable.

comment:4 by Frank Mehnert, 15 years ago

Resolution: wontfix
Status: newclosed

Resetting is a VM state but not a MachineState. See the MachineState declaration in VirtualBox.xidl.

Note: See TracTickets for help on using tickets.

© 2023 Oracle
ContactPrivacy policyTerms of Use