diff options
author | Vladimir Chtchetkine <vchtchetkine@google.com> | 2011-01-19 18:29:27 -0800 |
---|---|---|
committer | Vladimir Chtchetkine <vchtchetkine@google.com> | 2011-01-19 18:29:27 -0800 |
commit | 9411a562e1ab772732a4d5147c9103a638837c82 (patch) | |
tree | bf11eddce29c02b4376bc0cb76e5f9233791cf39 /android/main-ui.c | |
parent | a9edc435e6592fcc001e21e150391a84bde114a6 (diff) | |
download | external_qemu-9411a562e1ab772732a4d5147c9103a638837c82.zip external_qemu-9411a562e1ab772732a4d5147c9103a638837c82.tar.gz external_qemu-9411a562e1ab772732a4d5147c9103a638837c82.tar.bz2 |
Implement user event transmission between the UI and the core
Change-Id: I503aa691cada5250b76167a923d4a226d20ee41d
Diffstat (limited to 'android/main-ui.c')
-rw-r--r-- | android/main-ui.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/android/main-ui.c b/android/main-ui.c index 7a4d746..4d8560c 100644 --- a/android/main-ui.c +++ b/android/main-ui.c @@ -852,6 +852,9 @@ list_running_cores(const char* host) } } +/* Implemented in user-events-ui.c */ +extern int clientue_create(SockAddress* console_socket); + /* Attaches starting UI to a running core process. * This routine is called from main() when -attach-core parameter is set, * indicating that this UI instance should attach to a running core, rather than @@ -955,6 +958,10 @@ attach_to_core(AndroidOptions* opts) { return -1; } + if (clientue_create(&console_socket)) { + return -1; + } + return 0; } |