RE: [PATCH] kvm : qemu : fix compilation error in kvm-userspace for
"Zhang, Yang" <[email protected]>
| Newsgroups | org.kernel.vger.kvm-ia64,org.kernel.vger.kvm |
|---|---|
| Message-ID | <10C63FAD690C13458F0B32BCED571F1406D68376@pdsmsx502.ccr.corp.intel.com> |
Marcelo Tosatti wrote:
> On Tue, Mar 03, 2009 at 11:38:17AM +0800, Zhang, Yang wrote:
>> diff --git a/qemu/hw/i8259.c b/qemu/hw/i8259.c
>> index 9cb3941..025f993 100644
>> --- a/qemu/hw/i8259.c
>> +++ b/qemu/hw/i8259.c
>> @@ -189,8 +189,10 @@ static void i8259_set_irq(void *opaque, int
>> irq, int level) if (kvm_enabled()) { int pic_ret;
>> if (kvm_set_irq(irq, level, &pic_ret)) {
>> +#ifndef TARGET_IA64
>> if (pic_ret != 0)
>> apic_set_irq_delivered();
>> +#endif
>
> Why don't you define apic_set_irq_delivered for IA64?
seems right, But i cannot find the proper place to define it.
And i think we can do this at the time of we need to use it.