VirtualBox

Changeset 83915 in vbox


Ignore:
Timestamp:
Apr 22, 2020 5:16:22 AM (5 years ago)
Author:
vboxsync
Message:

Fix burns

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/VirtIO/Virtio_1_0.cpp

    r83914 r83915  
    422422    for (unsigned i = 0; i < RT_ELEMENTS(s_aFeatures); ++i)
    423423    {
    424         bool isOffered    = pVirtio->uDeviceFeatures  & s_aFeatures[i].fFeatureBit;
    425         bool isNegotiated = pVirtio->uDriverFeatures  & s_aFeatures[i].fFeatureBit;
     424        bool isOffered    = !!(pVirtio->uDeviceFeatures  & s_aFeatures[i].fFeatureBit);
     425        bool isNegotiated = !!(pVirtio->uDriverFeatures  & s_aFeatures[i].fFeatureBit);
    426426        cp += RTStrPrintf(cp, cbBuf - (cp - pszBuf), "        %s       %s   %s",
    427427                          isOffered ? "+" : "-", isNegotiated ? "x" : " ", s_aFeatures[i].pcszDesc);
     
    11781178            return;
    11791179        }
    1180         Log6Func(("...skipping interrupt, queue %s, Guest flagged VIRTQ_AVAIL_F_NO_INTERRUPT for queue\n"));
     1180        Log6Func(("...skipping interrupt, queue %s, Guest flagged VIRTQ_AVAIL_F_NO_INTERRUPT for queue\n",
     1181                     VIRTQNAME(pVirtio, idxQueue)));
    11811182    }
    11821183}
Note: See TracChangeset for help on using the changeset viewer.

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