include: move qemu_pipe() to osdep.h
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Message-Id: <20220323155743.1585078-19-marcandre.lureau@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
		
							parent
							
								
									0d14a2f300
								
							
						
					
					
						commit
						3bd04c091e
					
				| @ -24,10 +24,6 @@ | ||||
| int qemu_main(int argc, char **argv, char **envp); | ||||
| #endif | ||||
| 
 | ||||
| #ifndef _WIN32 | ||||
| int qemu_pipe(int pipefd[2]); | ||||
| #endif | ||||
| 
 | ||||
| void cpu_exec_init_all(void); | ||||
| void cpu_exec_step_atomic(CPUState *cpu); | ||||
| 
 | ||||
|  | ||||
| @ -530,6 +530,10 @@ static inline void qemu_timersub(const struct timeval *val1, | ||||
| ssize_t qemu_write_full(int fd, const void *buf, size_t count) | ||||
|     G_GNUC_WARN_UNUSED_RESULT; | ||||
| 
 | ||||
| #ifndef _WIN32 | ||||
| int qemu_pipe(int pipefd[2]); | ||||
| #endif | ||||
| 
 | ||||
| void qemu_set_cloexec(int fd); | ||||
| 
 | ||||
| void fips_set_state(bool requested); | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Marc-André Lureau
						Marc-André Lureau