Logo Search packages:      
Sourcecode: virtualbox-ose version File versions  Download package

Classes | Defines | Typedefs | Enumerations | Functions

vmapi.h File Reference

#include <VBox/cdefs.h>
#include <VBox/types.h>
#include <VBox/stam.h>
#include <VBox/cfgm.h>
#include <iprt/stdarg.h>
Include dependency graph for vmapi.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  VMREQ
union  VMREQ::VMREQ_U

Defines

#define VM_R0_ADDR(pVM, pvInVM)   ( (RTR0PTR)(pvInVM) )
#define VM_R3_ADDR(pVM, pvInVM)   ( (RTR3PTR)(pvInVM) )
#define VM_RC_ADDR(pVM, pvInVM)   ( (RTRCPTR)(pvInVM) )
#define VM_SET_ERROR(pVM, rc, pszMessage)   (VMSetError(pVM, rc, RT_SRC_POS, pszMessage))
VMSetRuntimeError fFlags

When no flags are given the VM will continue running and it's up to the front end to take action on the error condition.

#define VMSETRTERR_FLAGS_FATAL   RT_BIT_32(0)
#define VMSETRTERR_FLAGS_SUSPEND   RT_BIT_32(1)
#define VMSETRTERR_FLAGS_NO_WAIT   RT_BIT_32(2)

Typedefs

typedef void int const char va_list args
typedef VMSTATE VMSTATE enmOldState
typedef VMSTATE enmState
typedef void uint32_t fFlags
typedef FNVMATERROR * PFNVMATERROR
typedef FNVMATRUNTIMEERROR * PFNVMATRUNTIMEERROR
typedef FNVMATSTATE * PFNVMATSTATE
typedef void int const char * pszError
typedef void uint32_t const char * pszErrorId
typedef void uint32_t const
char const char * 
pszFormat
typedef VMREQPVMREQ
typedef void * pvUser
typedef void int rc
typedef void int RT_SRC_POS_DECL
typedef struct VMREQ VMREQ
typedef enum VMREQFLAGS VMREQFLAGS
typedef enum VMREQSTATE VMREQSTATE
typedef enum VMREQTYPE VMREQTYPE
Implicit Test Handle API Variation

The test handle is retrieved from the test TLS entry of the calling thread.

typedef void uint32_t const
char const char va_list 
va

Enumerations

enum  VMREQFLAGS {
  VMREQFLAGS_VBOX_STATUS = 0, VMREQFLAGS_VOID = 1, VMREQFLAGS_RETURN_MASK = 1, VMREQFLAGS_NO_WAIT = 2,
  VMREQFLAGS_POKE = 4
}
enum  VMREQSTATE {
  VMREQSTATE_INVALID = 0, VMREQSTATE_ALLOCATED, VMREQSTATE_QUEUED, VMREQSTATE_PROCESSING,
  VMREQSTATE_COMPLETED, VMREQSTATE_FREE
}
enum  VMREQTYPE { VMREQTYPE_INVALID = 0, VMREQTYPE_INTERNAL, VMREQTYPE_MAX }

Functions

typedef DECLCALLBACK (void) FNVMATERROR(PVM pVM
 VMMDECL (const char *) VMGetStateName(VMSTATE enmState)
 VMMDECL (int) VMSetError(PVM pVM

Detailed Description

VM - The Virtual Machine, API. (VMM)

Definition in file vmapi.h.


Generated by  Doxygen 1.6.0   Back to index