VirtualBox

Changeset 38887 in vbox for trunk/src/VBox/Frontends


Ignore:
Timestamp:
Sep 27, 2011 12:08:50 PM (14 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
74209
Message:

Change DiscardDevice to SetAutoDiscardForDevice

File:
1 edited

Legend:

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

    r38874 r38887  
    818818                if (!RTStrICmp(pszDiscard, "on"))
    819819                {
    820                     CHECK_ERROR(machine, DiscardDevice(Bstr(pszCtl).raw(),
    821                                                        port, device, TRUE));
     820                    CHECK_ERROR(machine, SetAutoDiscardForDevice(Bstr(pszCtl).raw(),
     821                                                                 port, device, TRUE));
    822822                }
    823823                else if (!RTStrICmp(pszDiscard, "off"))
    824824                {
    825                     CHECK_ERROR(machine, DiscardDevice(Bstr(pszCtl).raw(),
    826                                                        port, device, FALSE));
     825                    CHECK_ERROR(machine, SetAutoDiscardForDevice(Bstr(pszCtl).raw(),
     826                                                                 port, device, FALSE));
    827827                }
    828828                else
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