* [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
* Re: [PATCH]: Fixes the qemu-kvm compilation failure when configured with disable-kvm
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
1 sibling, 0 replies; 3+ messages in thread
From: Avi Kivity @ 2011-02-27 12:32 UTC (permalink / raw)
To: Prasad Joshi; +Cc: kvm
On 02/26/2011 06:38 PM, Prasad Joshi wrote:
> I pulled the latest qemu-kvm code and configured it with disabled-kvm
> and related options. Configuration finishes well, but the compilation
> fails.
>
This is already fixed in tree.
--
error compiling committee.c: too many arguments to function
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH]: Fixes the qemu-kvm compilation failure when configured with disable-kvm
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
1 sibling, 0 replies; 3+ messages in thread
From: Marcelo Tosatti @ 2011-03-02 17:48 UTC (permalink / raw)
To: Prasad Joshi; +Cc: kvm
On Sat, Feb 26, 2011 at 04:38:58PM +0000, Prasad Joshi wrote:
> 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>
Applied, thanks.
^ permalink raw reply [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