diff mbox

memory.c: drop kvm.h dependency

Message ID 20130801075529.GA3177@redhat.com
State New
Headers show

Commit Message

Michael S. Tsirkin Aug. 1, 2013, 7:55 a.m. UTC
memory.c does not use any kvm specific interfaces,
don't include kvm.h

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
---
 memory.c | 1 -
 1 file changed, 1 deletion(-)

Comments

Paolo Bonzini Aug. 1, 2013, 8:39 a.m. UTC | #1
> memory.c does not use any kvm specific interfaces,
> don't include kvm.h
> 
> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>

Acked-by: Paolo Bonzini <pbonzini@redhat.com>

and adding qemu-trivial.

Paolo

> ---
>  memory.c | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/memory.c b/memory.c
> index 01846c9..6b5c420 100644
> --- a/memory.c
> +++ b/memory.c
> @@ -18,7 +18,6 @@
>  #include "exec/ioport.h"
>  #include "qemu/bitops.h"
>  #include "qom/object.h"
> -#include "sysemu/kvm.h"
>  #include <assert.h>
>  
>  #include "exec/memory-internal.h"
> --
> MST
>
Michael Tokarev Aug. 2, 2013, 2:08 p.m. UTC | #2
01.08.2013 12:39, Paolo Bonzini wrote:
>> memory.c does not use any kvm specific interfaces,
>> don't include kvm.h

Thanks, applied to the trivial patches queue.

/mjt
diff mbox

Patch

diff --git a/memory.c b/memory.c
index 01846c9..6b5c420 100644
--- a/memory.c
+++ b/memory.c
@@ -18,7 +18,6 @@ 
 #include "exec/ioport.h"
 #include "qemu/bitops.h"
 #include "qom/object.h"
-#include "sysemu/kvm.h"
 #include <assert.h>
 
 #include "exec/memory-internal.h"