Print this page
13275 bhyve needs richer INIT/SIPI support
Reviewed by: Robert Mustacchi <rm@fingolfin.org>
Approved by: Gordon Ross <gordon.w.ross@gmail.com>

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/bhyve/bhyverun.h
          +++ new/usr/src/cmd/bhyve/bhyverun.h
↓ open down ↓ 50 lines elided ↑ open up ↑
  51   51  extern uint16_t cores, sockets, threads;
  52   52  extern char *guest_uuid_str;
  53   53  extern char *vmname;
  54   54  
  55   55  void *paddr_guest2host(struct vmctx *ctx, uintptr_t addr, size_t len);
  56   56  
  57   57  void fbsdrun_set_capabilities(struct vmctx *ctx, int cpu);
  58   58  #ifdef __FreeBSD__
  59   59  void fbsdrun_addcpu(struct vmctx *ctx, int fromcpu, int newcpu, uint64_t rip);
  60   60  #else
  61      -void fbsdrun_addcpu(struct vmctx *ctx, int fromcpu, int newcpu, uint64_t rip,
  62      -    bool suspend);
       61 +void fbsdrun_addcpu(struct vmctx *ctx, int newcpu, uint64_t rip, bool suspend);
  63   62  #endif
  64   63  int  fbsdrun_muxed(void);
  65   64  int  fbsdrun_vmexit_on_hlt(void);
  66   65  int  fbsdrun_vmexit_on_pause(void);
  67   66  int  fbsdrun_disable_x2apic(void);
  68   67  int  fbsdrun_virtio_msix(void);
  69   68  #endif
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX