search for: target_ulong

Displaying 4 results from an estimated 4 matches for "target_ulong".

2010 Aug 12
59
[PATCH 00/15] RFC xen device model support
Hi all, this is the long awaited patch series to add xen device model support in qemu; the main author is Anthony Perard. Developing this series we tried to come up with the cleanest possible solution from the qemu point of view, limiting the amount of changes to common code as much as possible. The end result still requires a couple of hooks in piix_pci but overall the impact should be very
2009 Mar 02
0
ioemu: make various functions in i386-dm/helper2.c static
...*env, xenstore_vm_write(domid, "rtc/timeoffset", b); } -void __handle_ioreq(CPUState *env, ioreq_t *req) +static void __handle_ioreq(CPUState *env, ioreq_t *req) { if (!req->data_is_ptr && (req->dir == IOREQ_WRITE) && (req->size < sizeof(target_ulong))) @@ -457,7 +458,7 @@ void __handle_ioreq(CPUState *env, ioreq } } -void __handle_buffered_iopage(CPUState *env) +static void __handle_buffered_iopage(CPUState *env) { buf_ioreq_t *buf_req = NULL; ioreq_t req; @@ -493,7 +494,7 @@ void __handle_buffered_iopage(CPUState * }...
2008 Jan 08
1
[PATCH] QEMU KVM balloon support
...int version_id) +{ + int64_t target; + + if (version_id != 1) + return -EINVAL; + + target = qemu_get_be64(f); + if (!target) + return -EINVAL; + + balloon_update_target(target); + + return 0; +} +#endif + static void ram_save_live(QEMUFile *f, void *opaque) { target_ulong addr; @@ -9378,6 +9402,9 @@ int main(int argc, char **argv) register_savevm("timer", 0, 2, timer_save, timer_load, NULL); register_savevm("ram", 0, 3, ram_save, ram_load, NULL); + if (kvm_allowed) + register_savevm("balloon", 0, 1, balloon_save, b...
2008 Jan 08
1
[PATCH] QEMU KVM balloon support
...int version_id) +{ + int64_t target; + + if (version_id != 1) + return -EINVAL; + + target = qemu_get_be64(f); + if (!target) + return -EINVAL; + + balloon_update_target(target); + + return 0; +} +#endif + static void ram_save_live(QEMUFile *f, void *opaque) { target_ulong addr; @@ -9378,6 +9402,9 @@ int main(int argc, char **argv) register_savevm("timer", 0, 2, timer_save, timer_load, NULL); register_savevm("ram", 0, 3, ram_save, ram_load, NULL); + if (kvm_allowed) + register_savevm("balloon", 0, 1, balloon_save, b...