VirtualBox

Ignore:
Timestamp:
Jul 16, 2009 9:50:36 PM (15 years ago)
Author:
vboxsync
Message:

Runtime/memobj-freebsd: Fix crash during VM temrination on FreeBSD8-CURRENT amd64

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/r0drv/freebsd/memobj-r0drv-freebsd.c

    r21497 r21658  
    212212                                      VM_ALLOC_NOBUSY | VM_ALLOC_SYSTEM |
    213213                                      VM_ALLOC_WIRED);
     214
     215#if __FreeBSD_version >= 800000 /** @todo Find exact version number */
     216                /* Fixes crashes during VM termination on FreeBSD8-CURRENT amd64
     217                 * with kernel debugging enabled. */
     218                vm_page_set_valid(pPage, 0, PAGE_SIZE);
     219#endif
     220
    214221                if (pPage)
    215222                {
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