vmm: Make vmm_dev.h more self-contained

vmm.h is required for VM_MAX_SUFFIXLEN.  vmm_snapshot.h is required for
struct vm_snapshot_meta.

This is a prerequisite for including vmm_dev.h in the headers parsed by
libsysdecode.

Reviewed by:	jhb
Differential Revision:	https://reviews.freebsd.org/D46485
This commit is contained in:
Mark Johnston 2024-09-01 14:00:26 +00:00
parent 780675e1be
commit 133a513ddc
2 changed files with 4 additions and 1 deletions

View File

@ -29,7 +29,8 @@
#ifndef _VMM_DEV_H_
#define _VMM_DEV_H_
struct vm_snapshot_meta;
#include <machine/vmm.h>
#include <machine/vmm_snapshot.h>
struct vm_memmap {
vm_paddr_t gpa;

View File

@ -27,6 +27,8 @@
#ifndef _VMM_DEV_H_
#define _VMM_DEV_H_
#include <machine/vmm.h>
struct vm_memmap {
vm_paddr_t gpa;
int segid; /* memory segment */