• R
    bhyve: monitor: do not override domain's privateData · 89316b2c
    Roman Bogorodskiy 提交于
    Current monitor code overrides domain object's privateData, e.g.
    in virBhyveProcessStart():
    
      vm->privateData = bhyveMonitorOpen(vm, driver);
    
    where bhyveMonitorPtr() returns bhyveMonitorPtr.
    
    This is not right thing to do, so make bhyveMonitorPtr
    a part of the bhyveDomainObjPrivate struct and change related code
    accordingly.
    89316b2c
bhyve_monitor.c 5.6 KB