-/* $OpenBSD: main.c,v 1.77 2024/05/02 15:46:10 mlarkin Exp $ */
+/* $OpenBSD: main.c,v 1.78 2024/05/18 06:45:00 jsg Exp $ */
/*
* Copyright (c) 2015 Reyk Floeter <reyk@openbsd.org>
__dead void usage(void);
__dead void ctl_usage(struct ctl_command *);
-int vmm_action(struct parse_result *);
-
int ctl_console(struct parse_result *, int, char *[]);
int ctl_convert(const char *, const char *, int, size_t);
int ctl_create(struct parse_result *, int, char *[]);
-/* $OpenBSD: vmctl.h,v 1.37 2022/05/13 00:17:20 yasuoka Exp $ */
+/* $OpenBSD: vmctl.h,v 1.38 2024/05/18 06:45:00 jsg Exp $ */
/*
* Copyright (c) 2015 Reyk Floeter <reyk@openbsd.org>
int open_imagefile(int, const char *, int,
struct virtio_backing *, off_t *);
int create_imagefile(int, const char *, const char *, uint64_t, const char **);
-int create_raw_imagefile(const char *, long);
-int create_qc2_imagefile(const char *, const char *, long);
int vm_start(uint32_t, const char *, size_t, int, char **, int,
char **, int *, char *, char *, char *, unsigned int);
int vm_start_complete(struct imsg *, int *, int);
-/* $OpenBSD: i8259.h,v 1.5 2022/09/01 22:01:40 dv Exp $ */
+/* $OpenBSD: i8259.h,v 1.6 2024/05/18 06:45:00 jsg Exp $ */
/*
* Copyright (c) 2016 Mike Larkin <mlarkin@openbsd.org>
*
void i8259_assert_irq(uint8_t);
void i8259_deassert_irq(uint8_t);
-/* PIC functions called by vcpu run loop code */
-int i8259_get_next_irq(uint8_t *);
-
/* PIC functions called by the in/out exit handler */
uint8_t vcpu_exit_i8259(struct vm_run_params *);
-/* $OpenBSD: mc146818.h,v 1.5 2017/07/09 00:51:40 pd Exp $ */
+/* $OpenBSD: mc146818.h,v 1.6 2024/05/18 06:45:00 jsg Exp $ */
/*
* Copyright (c) 2016 Mike Larkin <mlarkin@openbsd.org>
*
void mc146818_init(uint32_t, uint64_t, uint64_t);
uint8_t vcpu_exit_mc146818(struct vm_run_params *vrp);
-void dump_mc146818(void);
int mc146818_dump(int);
int mc146818_restore(int, uint32_t);
void mc146818_stop(void);
-/* $OpenBSD: vmd.c,v 1.156 2024/04/08 12:48:26 tobhe Exp $ */
+/* $OpenBSD: vmd.c,v 1.157 2024/05/18 06:45:00 jsg Exp $ */
/*
* Copyright (c) 2015 Reyk Floeter <reyk@openbsd.org>
int vmd_configure(void);
void vmd_sighdlr(int sig, short event, void *arg);
void vmd_shutdown(void);
-int vmd_control_run(void);
int vmd_dispatch_control(int, struct privsep_proc *, struct imsg *);
int vmd_dispatch_vmm(int, struct privsep_proc *, struct imsg *);
int vmd_dispatch_agentx(int, struct privsep_proc *, struct imsg *);