VirtualBox

忽略:
時間撮記:
2015-12-2 下午09:10:52 (9 年 以前)
作者:
vboxsync
訊息:

Main: Fix starting a VM with a physical PCI device attached. The assignment->COMGETTER(...) calls failed unnoticed with E_ACCESSDENIED producing bogues PCI addresses

檔案:
修改 1 筆資料

圖例:

未更動
新增
刪除
  • trunk/src/VBox/Main/src-client/ConsoleImpl2.cpp

    r58449 r58959  
    573573        PCIBusAddress GuestPCIAddress;
    574574
    575         assignment->COMGETTER(GuestAddress)(&guest);
     575        hrc = assignment->COMGETTER(GuestAddress)(&guest);   H();
    576576        GuestPCIAddress.fromLong(guest);
    577577        Assert(GuestPCIAddress.valid());
     
    626626        Bstr aDevName;
    627627
    628         assignment->COMGETTER(HostAddress)(&host);
    629         assignment->COMGETTER(GuestAddress)(&guest);
    630         assignment->COMGETTER(Name)(aDevName.asOutParam());
     628        hrc = assignment->COMGETTER(HostAddress)(&host);            H();
     629        hrc = assignment->COMGETTER(GuestAddress)(&guest);          H();
     630        hrc = assignment->COMGETTER(Name)(aDevName.asOutParam());   H();
    631631
    632632        InsertConfigNode(pPCIDevs, Utf8StrFmt("%d", iDev).c_str(), &pInst);
注意: 瀏覽 TracChangeset 來幫助您使用更動檢視器

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