• Home
  • Raw
  • Download

Lines Matching full:crosvm

21  * This module is used to implement a plugin for crosvm.
23 * A plugin for crosvm interfaces with the virtual machine using the `struct
24 * crosvm` object and its child objects. A typical plugin is expected to call
30 * between the `crosvm_vcpu_wait` and `crosvm_vcpu_resume` calls. The crosvm
47 * do not indicate anything about what version of crosvm is running.
60 /* Handle to the parent crosvm process. */
61 struct crosvm;
76 * Connects to the parent crosvm process and returns a new `struct crosvm`
79 * This is the entry point for interfacing with crosvm as a plugin. This should
82 int crosvm_connect(struct crosvm**);
85 * Creates another connection for interfacing with crosvm concurrently.
87 * The new connection behaves exactly like the original `struct crosvm` but can
89 * execution order of the requests to crosvm is unspecified but every request is
93 * crosvm`.
95 int crosvm_new_connection(struct crosvm*, struct crosvm**);
98 * Destroys this connection and tells the parent crosvm process to stop
101 int crosvm_destroy_connection(struct crosvm**);
109 int crosvm_get_shutdown_eventfd(struct crosvm*);
114 int crosvm_check_extension(struct crosvm*, uint32_t __extension,
122 int crosvm_enable_capability(struct crosvm*, uint32_t __capability,
129 int crosvm_get_supported_cpuid(struct crosvm*, uint32_t __entry_count,
136 int crosvm_get_emulated_cpuid(struct crosvm*, uint32_t __entry_count,
150 int crosvm_get_msr_index_list(struct crosvm*, uint32_t __entry_count,
155 * The network configuration for a crosvm instance.
180 int crosvm_net_get_config(struct crosvm*, struct crosvm_net_config*);
189 int crosvm_reserve_range(struct crosvm*, uint32_t __space, uint64_t __start,
206 int crosvm_reserve_async_write_range(struct crosvm*, uint32_t __space,
212 int crosvm_set_irq(struct crosvm*, uint32_t __irq_id, bool __active);
261 int crosvm_set_irq_routing(struct crosvm*, uint32_t __route_count,
317 * crosvm will assume the plugin is likely to call crosvm_vcpu_get_regs()
334 int crosvm_set_hypercall_hint(struct crosvm *, uint32_t __hints_count,
338 int crosvm_get_pic_state(struct crosvm *, bool __primary,
342 int crosvm_set_pic_state(struct crosvm *, bool __primary,
346 int crosvm_get_ioapic_state(struct crosvm *,
350 int crosvm_set_ioapic_state(struct crosvm *,
354 int crosvm_get_pit_state(struct crosvm *, struct kvm_pit_state2 *__pit_state);
357 int crosvm_set_pit_state(struct crosvm *,
361 int crosvm_get_clock(struct crosvm *, struct kvm_clock_data *__clock_data);
364 int crosvm_set_clock(struct crosvm *,
368 int crosvm_set_identity_map_addr(struct crosvm*, uint32_t __addr);
377 int crosvm_pause_vcpus(struct crosvm*, uint64_t __cpu_mask, void* __user);
380 * Call once initialization is done. This indicates that crosvm should proceed
385 int crosvm_start(struct crosvm*);
399 int crosvm_create_io_event(struct crosvm*, uint32_t __space, uint64_t __addr,
406 int crosvm_destroy_io_event(struct crosvm*, struct crosvm_io**);
434 int crosvm_create_memory(struct crosvm*, int __fd, uint64_t __offset,
443 int crosvm_destroy_memory(struct crosvm*, struct crosvm_memory**);
451 int crosvm_memory_get_dirty_log(struct crosvm*, struct crosvm_memory*,
459 int crosvm_create_irq_event(struct crosvm*, uint32_t __irq_id,
465 int crosvm_destroy_irq_event(struct crosvm*, struct crosvm_irq**);
604 * The `struct crosvm_vcpu` is owned by `struct crosvm`. Each call with the same
605 * `crosvm` and |__cpu_id| will yield the same pointer. The `crosvm_vcpu` does
613 int crosvm_get_vcpu(struct crosvm*, uint32_t __cpu_id, struct crosvm_vcpu**);