colo: use local path for local headers
When pulling in headers that are in the same directory as the C file (as opposed to one in include/), we should use its relative path, without a directory. Reviewed-by: Zhang Chen <zhangckid@gmail.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com> Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Tested-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
This commit is contained in:
		
							parent
							
								
									53d37d36ca
								
							
						
					
					
						commit
						f27f01db03
					
				@ -25,7 +25,7 @@
 | 
				
			|||||||
#include "net/queue.h"
 | 
					#include "net/queue.h"
 | 
				
			||||||
#include "chardev/char-fe.h"
 | 
					#include "chardev/char-fe.h"
 | 
				
			||||||
#include "qemu/sockets.h"
 | 
					#include "qemu/sockets.h"
 | 
				
			||||||
#include "net/colo.h"
 | 
					#include "colo.h"
 | 
				
			||||||
#include "sysemu/iothread.h"
 | 
					#include "sysemu/iothread.h"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#define TYPE_COLO_COMPARE "colo-compare"
 | 
					#define TYPE_COLO_COMPARE "colo-compare"
 | 
				
			||||||
 | 
				
			|||||||
@ -14,7 +14,7 @@
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
#include "qemu/osdep.h"
 | 
					#include "qemu/osdep.h"
 | 
				
			||||||
#include "trace.h"
 | 
					#include "trace.h"
 | 
				
			||||||
#include "net/colo.h"
 | 
					#include "colo.h"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
uint32_t connection_key_hash(const void *opaque)
 | 
					uint32_t connection_key_hash(const void *opaque)
 | 
				
			||||||
{
 | 
					{
 | 
				
			||||||
 | 
				
			|||||||
@ -11,7 +11,7 @@
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
#include "qemu/osdep.h"
 | 
					#include "qemu/osdep.h"
 | 
				
			||||||
#include "trace.h"
 | 
					#include "trace.h"
 | 
				
			||||||
#include "net/colo.h"
 | 
					#include "colo.h"
 | 
				
			||||||
#include "net/filter.h"
 | 
					#include "net/filter.h"
 | 
				
			||||||
#include "net/net.h"
 | 
					#include "net/net.h"
 | 
				
			||||||
#include "qemu-common.h"
 | 
					#include "qemu-common.h"
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user