[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v6 2/5] hpet: enable to entitle more irq pins fo
From: |
liu ping fan |
Subject: |
Re: [Qemu-devel] [PATCH v6 2/5] hpet: enable to entitle more irq pins for hpet |
Date: |
Tue, 15 Oct 2013 13:24:18 +0800 |
On Mon, Oct 14, 2013 at 10:18 PM, Michael S. Tsirkin <address@hidden> wrote:
> On Fri, Oct 11, 2013 at 10:59:40AM +0800, liu ping fan wrote:
>> On Thu, Oct 10, 2013 at 7:41 PM, Michael S. Tsirkin <address@hidden> wrote:
>> > On Thu, Oct 10, 2013 at 11:46:42AM +0200, Paolo Bonzini wrote:
>> >> Il 10/10/2013 11:41, Michael S. Tsirkin ha scritto:
>> >> >> > Are you sure? This is not done for any other compat property.
>> >> >> >
>> >> >> > Paolo
>> >> > It's done if we use the property from C.
>> >> > See PCI_HOST_PROP_PCI_HOLE64_SIZE.
>> >> >
>> >> > You want compiler to catch errors, that's
>> >> > much better than a runtime failure.
>> >>
>> >> I agree, but I think there should be no need to use the property from C.
>> >>
>> >> Paolo
>> >
>> > Well this patchset does use it from C.
>> > If it's done it needs a macro.
>>
>> hpet.h is the ideal place to put the macro, so pc.c can see it. But
>> what about PC_COMPAT_1_7 in pc.h? I think it is not right to include
>> hpet.h.
>
> Why not?
>
Since pc.h is included by so many hpet unrelated drivers, if pc.h
include hpet.h, then we will export the internal of hpet struct.
Regards,
Ping Fan
- Re: [Qemu-devel] [PATCH v6 2/5] hpet: enable to entitle more irq pins for hpet, (continued)
- Re: [Qemu-devel] [PATCH v6 2/5] hpet: enable to entitle more irq pins for hpet, Paolo Bonzini, 2013/10/10
- Re: [Qemu-devel] [PATCH v6 2/5] hpet: enable to entitle more irq pins for hpet, Michael S. Tsirkin, 2013/10/10
- Re: [Qemu-devel] [PATCH v6 2/5] hpet: enable to entitle more irq pins for hpet, Paolo Bonzini, 2013/10/10
- Re: [Qemu-devel] [PATCH v6 2/5] hpet: enable to entitle more irq pins for hpet, Michael S. Tsirkin, 2013/10/10
- Re: [Qemu-devel] [PATCH v6 2/5] hpet: enable to entitle more irq pins for hpet, liu ping fan, 2013/10/10
- Re: [Qemu-devel] [PATCH v6 2/5] hpet: enable to entitle more irq pins for hpet, Paolo Bonzini, 2013/10/11
- Re: [Qemu-devel] [PATCH v6 2/5] hpet: enable to entitle more irq pins for hpet, liu ping fan, 2013/10/11
- Re: [Qemu-devel] [PATCH v6 2/5] hpet: enable to entitle more irq pins for hpet, Paolo Bonzini, 2013/10/11
- Re: [Qemu-devel] [PATCH v6 2/5] hpet: enable to entitle more irq pins for hpet, Michael S. Tsirkin, 2013/10/14
- Re: [Qemu-devel] [PATCH v6 2/5] hpet: enable to entitle more irq pins for hpet, Michael S. Tsirkin, 2013/10/14
- Re: [Qemu-devel] [PATCH v6 2/5] hpet: enable to entitle more irq pins for hpet,
liu ping fan <=
[Qemu-devel] [PATCH v6 3/5] PC: use qdev_xx to create hpet instead of sysbus_create_xx, Liu Ping Fan, 2013/10/10
[Qemu-devel] [PATCH v6 4/5] PC: add hpet compat to trace compatability version, Liu Ping Fan, 2013/10/10
[Qemu-devel] [PATCH v6 5/5] PC: differentiate hpet's interrupt capability on piix and q35, Liu Ping Fan, 2013/10/10