-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
stubs: fully replace qemu-tool.c and qemu-user.c
Signed-off-by: Paolo Bonzini <[email protected]>
- Loading branch information
Showing
20 changed files
with
138 additions
and
167 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,24 @@ | ||
stub-obj-y += arch-query-cpu-def.o | ||
stub-obj-y += clock-warp.o | ||
stub-obj-y += cpu-get-clock.o | ||
stub-obj-y += cpu-get-icount.o | ||
stub-obj-y += fdset-add-fd.o | ||
stub-obj-y += fdset-find-fd.o | ||
stub-obj-y += fdset-get-fd.o | ||
stub-obj-y += fdset-remove-fd.o | ||
stub-obj-y += get-fd.o | ||
stub-obj-y += set-fd-handler.o | ||
stub-obj-y += get-vm-name.o | ||
stub-obj-y += iothread-lock.o | ||
stub-obj-y += migr-blocker.o | ||
stub-obj-y += mon-is-qmp.o | ||
stub-obj-y += mon-printf.o | ||
stub-obj-y += mon-print-filename.o | ||
stub-obj-y += mon-protocol-event.o | ||
stub-obj-y += mon-set-error.o | ||
stub-obj-y += reset.o | ||
stub-obj-y += vmstate.o | ||
stub-obj-y += set-fd-handler.o | ||
stub-obj-y += slirp.o | ||
stub-obj-y += sysbus.o | ||
stub-obj-y += vm-stop.o | ||
stub-obj-y += vmstate.o | ||
stub-obj-$(CONFIG_WIN32) += fd-register.o |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
#include "qemu-common.h" | ||
#include "qemu/timer.h" | ||
|
||
void qemu_clock_warp(QEMUClock *clock) | ||
{ | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
#include "qemu-common.h" | ||
#include "qemu/timer.h" | ||
|
||
int64_t cpu_get_clock(void) | ||
{ | ||
return get_clock_realtime(); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
#include "qemu-common.h" | ||
#include "qemu/timer.h" | ||
|
||
int use_icount; | ||
|
||
int64_t cpu_get_icount(void) | ||
{ | ||
abort(); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
#include "qemu-common.h" | ||
|
||
const char *qemu_get_vm_name(void) | ||
{ | ||
return NULL; | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
#include "qemu-common.h" | ||
#include "qemu/main-loop.h" | ||
|
||
void qemu_mutex_lock_iothread(void) | ||
{ | ||
} | ||
|
||
void qemu_mutex_unlock_iothread(void) | ||
{ | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
#include "qemu-common.h" | ||
#include "migration/migration.h" | ||
|
||
void migrate_add_blocker(Error *reason) | ||
{ | ||
} | ||
|
||
void migrate_del_blocker(Error *reason) | ||
{ | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
#include "qemu-common.h" | ||
#include "monitor/monitor.h" | ||
|
||
int monitor_cur_is_qmp(void) | ||
{ | ||
return 0; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
#include "qemu-common.h" | ||
#include "monitor/monitor.h" | ||
|
||
void monitor_print_filename(Monitor *mon, const char *filename) | ||
{ | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
#include "qemu-common.h" | ||
#include "monitor/monitor.h" | ||
|
||
void monitor_printf(Monitor *mon, const char *fmt, ...) | ||
{ | ||
} | ||
|
||
void monitor_vprintf(Monitor *mon, const char *fmt, va_list ap) | ||
{ | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
#include "qemu-common.h" | ||
#include "monitor/monitor.h" | ||
|
||
void monitor_protocol_event(MonitorEvent event, QObject *data) | ||
{ | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
#include "qemu-common.h" | ||
#include "monitor/monitor.h" | ||
|
||
Monitor *cur_mon; | ||
|
||
void monitor_set_error(Monitor *mon, QError *qerror) | ||
{ | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
#include "qemu-common.h" | ||
#include "slirp/slirp.h" | ||
|
||
void slirp_update_timeout(uint32_t *timeout) | ||
{ | ||
} | ||
|
||
void slirp_select_fill(int *pnfds, fd_set *readfds, | ||
fd_set *writefds, fd_set *xfds) | ||
{ | ||
} | ||
|
||
void slirp_select_poll(fd_set *readfds, fd_set *writefds, | ||
fd_set *xfds, int select_error) | ||
{ | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
#include "qemu-common.h" | ||
#include "sysemu/sysemu.h" | ||
|
||
void vm_stop(RunState state) | ||
{ | ||
abort(); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters