char-file.c (541815ff7f54f45a60d058b1c499c4affff094e0) | char-file.c (8228e353d8906bf43399ca0ef28446c5c48bb686) |
---|---|
1/* 2 * QEMU System Emulator 3 * 4 * Copyright (c) 2003-2008 Fabrice Bellard 5 * 6 * Permission is hereby granted, free of charge, to any person obtaining a copy 7 * of this software and associated documentation files (the "Software"), to deal 8 * in the Software without restriction, including without limitation the rights --- 10 unchanged lines hidden (view full) --- 19 * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 20 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 21 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 22 * THE SOFTWARE. 23 */ 24#include "qemu/osdep.h" 25#include "qapi/error.h" 26#include "qemu-common.h" | 1/* 2 * QEMU System Emulator 3 * 4 * Copyright (c) 2003-2008 Fabrice Bellard 5 * 6 * Permission is hereby granted, free of charge, to any person obtaining a copy 7 * of this software and associated documentation files (the "Software"), to deal 8 * in the Software without restriction, including without limitation the rights --- 10 unchanged lines hidden (view full) --- 19 * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 20 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 21 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 22 * THE SOFTWARE. 23 */ 24#include "qemu/osdep.h" 25#include "qapi/error.h" 26#include "qemu-common.h" |
27#include "sysemu/char.h" | 27#include "chardev/char.h" |
28 29#ifdef _WIN32 | 28 29#ifdef _WIN32 |
30#include "char-win.h" | 30#include "chardev/char-win.h" |
31#else | 31#else |
32#include "char-fd.h" | 32#include "chardev/char-fd.h" |
33#endif 34 35static void qmp_chardev_open_file(Chardev *chr, 36 ChardevBackend *backend, 37 bool *be_opened, 38 Error **errp) 39{ 40 ChardevFile *file = backend->u.file.data; --- 99 unchanged lines hidden --- | 33#endif 34 35static void qmp_chardev_open_file(Chardev *chr, 36 ChardevBackend *backend, 37 bool *be_opened, 38 Error **errp) 39{ 40 ChardevFile *file = backend->u.file.data; --- 99 unchanged lines hidden --- |