Class QmMonitor

Hierarchy

  • QmMonitor

Constructors

Properties

_node: string
_vmid: number
monitor: ((command: string) => Promise<string>)

Type declaration

    • (command: string): Promise<string>
    • Parameters

      • command: string

      Returns Promise<string>

Accessors

Methods

  • Parameters

    • id: string
    • params: { productId: string; vendorId: string }
      • productId: string
      • vendorId: string

    Returns Promise<any>

  • Parameters

    • id: string
    • params: { bus: number; port: string }
      • bus: number
      • port: string

    Returns Promise<any>

  • Parameters

    • id: string
    • filters: { name?: RegExp; productId?: RegExp; vendorId?: RegExp }
      • Optional name?: RegExp
      • Optional productId?: RegExp
      • Optional vendorId?: RegExp

    Returns Promise<any>

  • Parameters

    • id: string

    Returns Promise<string>

  • Parameters

    • type: "name" | "backup" | "migrate" | "rdma" | "network" | "status" | "version" | "cpus" | "balloon" | "kvm" | "numa" | "spice" | "history" | "block-jobs" | "blockstats" | "capture" | "chardev" | "cpustats" | "dump" | "hotpluggable-cpus" | "ioapic" | "iothreads" | "irq" | "jit" | "memdev" | "memory-devices" | "memory_size_summary" | "mice" | "migrate_cache_size" | "migrate_capabilities" | "migrate_parameters" | "opcount" | "pci" | "pic" | "profile" | "qdm" | "qtree" | "ramblock" | "roms" | "savevm" | "sev" | "snapshots" | "tpm" | "usb" | "usbhost" | "usernet" | "uuid" | "vm-generation-id" | "vnc"

    Returns Promise<string>

  • Parameters

    • type: "block" | "lapic" | "mtree" | "qom-tree" | "registers" | "sync-profile" | "trace-events"
    • Rest ...args: string[]

    Returns Promise<string>

  • Parameters

    • type: "rocker-of-dpa-flows" | "rocker-of-dpa-groups" | "rocker-ports"
    • arg1: string
    • Rest ...args: string[]

    Returns Promise<string>

  • Parameters

    • Optional filters: { name?: RegExp; productId?: RegExp; vendorId?: RegExp }
      • Optional name?: RegExp
      • Optional productId?: RegExp
      • Optional vendorId?: RegExp

    Returns Promise<USBInfo[]>

  • list available usb on host

    Parameters

    • Optional filters: { name?: RegExp; productId?: RegExp; vendorId?: RegExp }
      • Optional name?: RegExp
      • Optional productId?: RegExp
      • Optional vendorId?: RegExp

    Returns Promise<USBHostInfo[]>

Generated using TypeDoc