[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 1/2] Keep track of ISA ports ISA device is using
From: |
Markus Armbruster |
Subject: |
Re: [Qemu-devel] [PATCH 1/2] Keep track of ISA ports ISA device is using in qdev. |
Date: |
Mon, 25 Oct 2010 17:06:51 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) |
Gleb Natapov <address@hidden> writes:
> Prevent two devices from claiming the same io port.
Really?
Your new check for double-claim is in the new isa_init_ioport(), which
is for ISADevice only. Thus, only qdevified ISA devices can opt for
this protection, by calling isa_init_ioport(). It doesn't protect from
devices who don't or can't opt in, such as PCI devices.
Anyway, we already check for double-claim in
register_ioport_{read,write}(). The check has issues --- hw_error() is
wrong there for hot plug. But it's where the check should be, isn't it?
- [Qemu-devel] [PATCH 0/2] Add get_dev_path callback to ISA bus., Gleb Natapov, 2010/10/24
- [Qemu-devel] [PATCH 2/2] Add get_dev_path callback to ISA bus in qdev., Gleb Natapov, 2010/10/24
- [Qemu-devel] [PATCH 1/2] Keep track of ISA ports ISA device is using in qdev., Gleb Natapov, 2010/10/24
- Re: [Qemu-devel] [PATCH 1/2] Keep track of ISA ports ISA device is using in qdev.,
Markus Armbruster <=
- Re: [Qemu-devel] [PATCH 1/2] Keep track of ISA ports ISA device is using in qdev., Gleb Natapov, 2010/10/25
- Re: [Qemu-devel] [PATCH 1/2] Keep track of ISA ports ISA device is using in qdev., Markus Armbruster, 2010/10/25
- Re: [Qemu-devel] [PATCH 1/2] Keep track of ISA ports ISA device is using in qdev., Gleb Natapov, 2010/10/25
- Re: [Qemu-devel] [PATCH 1/2] Keep track of ISA ports ISA device is using in qdev., Markus Armbruster, 2010/10/26
- Re: [Qemu-devel] [PATCH 1/2] Keep track of ISA ports ISA device is using in qdev., Gleb Natapov, 2010/10/26
Re: [Qemu-devel] [PATCH 0/2] Add get_dev_path callback to ISA bus., Markus Armbruster, 2010/10/25