VirtualBox

Changeset 23687 in vbox


Ignore:
Timestamp:
Oct 12, 2009 12:41:42 PM (15 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
53402
Message:

VBoxManage: Updated vminfo with the live migration bits.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VBoxManage/VBoxManageInfo.cpp

    r23643 r23687  
    442442        RTPrintf("2D Video Acceleration: %s\n", accelerate2dVideo ? "on" : "off");
    443443#endif
     444
     445    BOOL liveMigrationTarget;
     446    machine->COMGETTER(LiveMigrationTarget)(&liveMigrationTarget);
     447    if (details == VMINFO_MACHINEREADABLE)
     448        RTPrintf("livemigrationtarget=\"%s\"\n", liveMigrationTarget ? "on" : "off");
     449    else
     450        RTPrintf("Live Migration Target: %s\n", accelerate2dVideo ? "on" : "off");
     451
     452    ULONG liveMigrationPort;
     453    machine->COMGETTER(LiveMigrationPort)(&liveMigrationPort);
     454    if (details == VMINFO_MACHINEREADABLE)
     455        RTPrintf("livemigrationport=%u\n", liveMigrationPort);
     456    else
     457        RTPrintf("Live Migration Port: %u\n", liveMigrationPort);
     458
     459    Bstr liveMigrationPassword;
     460    machine->COMGETTER(LiveMigrationPassword)(liveMigrationPassword.asOutParam());
     461    if (details == VMINFO_MACHINEREADABLE)
     462        RTPrintf("livemigrationpassword=\"%lS\"\n", liveMigrationPassword.raw());
     463    else
     464        RTPrintf("Live Migration Password: %lS\n", liveMigrationPassword.raw());
    444465
    445466    /*
Note: See TracChangeset for help on using the changeset viewer.

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