Re: [Qemu-devel] IO port 0x61 is multiple used

2015-03-19 Thread Jan Kiszka
On 2015-03-19 12:41, Gerd Hoffmann wrote: > On Di, 2015-03-17 at 15:11 +0800, Gonglei wrote: >> On 2015/3/15 20:49, Weidong Huang wrote: >>> Hi ALL: >>> >>> IO port 0x61 is used by pc speaker and NMI reason port. >>> >>> This is ambiguous. How to distinguish in QEMU? That register is a mess functi

Re: [Qemu-devel] IO port 0x61 is multiple used

2015-03-19 Thread Gerd Hoffmann
On Di, 2015-03-17 at 15:11 +0800, Gonglei wrote: > On 2015/3/15 20:49, Weidong Huang wrote: > > Hi ALL: > > > > IO port 0x61 is used by pc speaker and NMI reason port. > > > > This is ambiguous. How to distinguish in QEMU? > > > > I see that NMI reason port is not realized in QEMU. > > > > But

Re: [Qemu-devel] IO port 0x61 is multiple used

2015-03-17 Thread Gonglei
On 2015/3/15 20:49, Weidong Huang wrote: > Hi ALL: > > IO port 0x61 is used by pc speaker and NMI reason port. > > This is ambiguous. How to distinguish in QEMU? > > I see that NMI reason port is not realized in QEMU. > > But linux guest will access this port to determine what the NMI reason co

[Qemu-devel] IO port 0x61 is multiple used

2015-03-15 Thread Weidong Huang
Hi ALL: IO port 0x61 is used by pc speaker and NMI reason port. This is ambiguous. How to distinguish in QEMU? I see that NMI reason port is not realized in QEMU. But linux guest will access this port to determine what the NMI reason code means. It will access pc speaker's io port. Is this a