]> Git Repo - qemu.git/blobdiff - chardev/char-file.c
hw/timer/armv7m_systick: Forbid non-privileged accesses
[qemu.git] / chardev / char-file.c
index 8bae25350dda6a6b3e9e8db47c1b84dcb0b5a0f2..2fd80707e5f4dfa6b618e4ea7b88db034dffd3a7 100644 (file)
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
  * THE SOFTWARE.
  */
+
 #include "qemu/osdep.h"
 #include "qapi/error.h"
-#include "qemu-common.h"
-#include "sysemu/char.h"
+#include "qemu/module.h"
+#include "qemu/option.h"
+#include "chardev/char.h"
 
 #ifdef _WIN32
-#include "char-win.h"
+#include "chardev/char-win.h"
 #else
-#include "char-fd.h"
+#include "chardev/char-fd.h"
 #endif
 
 static void qmp_chardev_open_file(Chardev *chr,
@@ -65,7 +67,7 @@ static void qmp_chardev_open_file(Chardev *chr,
         return;
     }
 
-    qemu_chr_open_win_file(chr, out);
+    win_chr_set_file(chr, out, false);
 #else
     int flags, in = -1, out;
 
This page took 0.023469 seconds and 4 git commands to generate.