-type task = {
- task_state : int64;
- task_prio : int64;
- task_normal_prio : int64;
- task_static_prio : int64;
- task_comm : string; (** Short command name. *)
- task_pid : int64; (** Process ID. *)
-}
- (** Internal version of the kernel [task_struct]. *)
-
-type net_device = {
- netdev_name : string; (** Device name. *)
- netdev_flags : int64;
- netdev_operstate : int64;
- netdev_mtu : int64;
- netdev_perm_addr : string;
- netdev_addr_len : int64;
-}
- (** Internal version of the kernel [net_device] (network device struct). *)
-
-type kdata = {
- ksyms : ksymmap option; (** Kernel symbol lookup function. *)
- utsname : utsname option; (** Kernel version. *)
- tasks : task list option; (** List of tasks (processes). *)
- net_devices : net_device list option; (** List of net devices. *)
-}
- (** Optional data derived from the raw kernel image by the main
- program and passed to the tools' [~run] functions.
+type kimage = {
+ dom : Libvirt.ro Libvirt.Domain.t option; (** Domain, if known. *)
+ domname : string; (** Domain name. *)
+ arch : Virt_mem_utils.architecture; (** Architecture, eg. i386. *)