VirtualBox

Changeset 93022 in vbox


Ignore:
Timestamp:
Dec 17, 2021 6:05:16 PM (3 years ago)
Author:
vboxsync
Message:

Additions/VBoxService: Selective feature compilation fixes -- ballooning is part of VBoxSerivice' management feature.

Location:
trunk/src/VBox/Additions/common/VBoxService
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/common/VBoxService/Makefile.kmk

    r86828 r93022  
    133133
    134134ifdef VBOX_WITH_VBOXSERVICE_MANAGEMENT
    135 VBoxService_SOURCES      += \
     135 ifdef VBOX_WITH_MEMBALLOON
     136  VBoxService_SOURCES    += \
    136137        VBoxServiceBalloon.cpp
    137  ifdef VBOX_WITH_MEMBALLOON
    138 VBoxService_DEFS         += VBOX_WITH_MEMBALLOON
     138  VBoxService_DEFS       += VBOX_WITH_MEMBALLOON
    139139 endif
    140140endif
  • trunk/src/VBox/Additions/common/VBoxService/VBoxServiceInternal.h

    r92767 r93022  
    263263#endif /* RT_OS_WINDOWS */
    264264
    265 #ifdef VBOX_WITH_VBOXSERVICE_MANAGEMENT
     265#ifdef VBOX_WITH_MEMBALLOON
    266266extern uint32_t                 VGSvcBalloonQueryPages(uint32_t cbPage);
    267267#endif
  • trunk/src/VBox/Additions/common/VBoxService/VBoxServiceStats.cpp

    r85121 r93022  
    535535                                   | VBOX_GUEST_STAT_MEM_SYSTEM_CACHE
    536536                                   | VBOX_GUEST_STAT_PAGE_FILE_SIZE;
    537 #ifdef VBOX_WITH_MEMBALLOON
     537# ifdef VBOX_WITH_MEMBALLOON
    538538        req.guestStats.u32PhysMemBalloon  = VGSvcBalloonQueryPages(_4K);
    539539        req.guestStats.u32StatCaps       |= VBOX_GUEST_STAT_PHYS_MEM_BALLOON;
    540 #else
     540# else
    541541        req.guestStats.u32PhysMemBalloon  = 0;
    542 #endif
     542# endif
    543543
    544544        /*
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