public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH]: Fixes the qemu-kvm compilation failure when configured with disable-kvm
@ 2011-02-26 16:38 Prasad Joshi
  2011-02-27 12:32 ` Avi Kivity
  2011-03-02 17:48 ` Marcelo Tosatti
  0 siblings, 2 replies; 3+ messages in thread
From: Prasad Joshi @ 2011-02-26 16:38 UTC (permalink / raw)
  To: kvm

I pulled the latest qemu-kvm code and configured it with disabled-kvm
and related options. Configuration finishes well, but the compilation
fails.

prasad@prasad-kvm:~/KVM/qemu-kvm$ ./configure --disable-kvm
--disable-kvm-device-assignment --disable-kvm-pit
...
...

prasad@prasad-kvm:~/KVM/qemu-kvm$ make
....
....
  CC    x86_64-softmmu/kvm-stub.o
/home/prasad/KVM/qemu-kvm/kvm-stub.c:140: error: expected identifier
or ‘(’ before ‘<<’ token
make[1]: *** [kvm-stub.o] Error 1
make: *** [subdir-x86_64-softmmu] Error 2


A Small fix would be

Signed-off-by: Prasad Joshi <prasadjoshi124@gmail.com>
---
diff --git a/kvm-stub.c b/kvm-stub.c
index caef9b4..fc2b810 100644
--- a/kvm-stub.c
+++ b/kvm-stub.c
@@ -137,7 +137,6 @@ int kvm_set_ioeventfd_mmio_long(int fd, uint32_t
adr, uint32_t val, bool assign)
     return -ENOSYS;
 }

-<<<<<<< HEAD
 int kvm_has_gsi_routing(void)
 {
     return 0;

^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-03-02 18:53 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-02-26 16:38 [PATCH]: Fixes the qemu-kvm compilation failure when configured with disable-kvm Prasad Joshi
2011-02-27 12:32 ` Avi Kivity
2011-03-02 17:48 ` Marcelo Tosatti

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox