在 2013-04-16二的 15:45 -0500,Anthony Liguori写道: > Paolo Bonzini <pbonz...@redhat.com> writes: > > > Il 10/04/2013 15:41, guang li ha scritto: > >> Yes, you're right. > >> The motivation is I want to implement a device > >> called EC which is a notion from laptop for QEMU, > >> EC has some main functions, like keyboard, mouse, > >> low-speed device control(I2C), special ACPI space, > >> i8042 and ps2 mouse has been done, power control > >> was left, so I tried to add this. > > > > Do you have a datasheet? Have you looked at hw/acpi/? > > http://www.coreboot.org/Embedded_controller > > Has more than you probably ever wanted to know about ECs. > > I don't see much reason to model an EC in QEMU. > It's only visible to firmware (at least on the PC)
No, it's certainly visible to OS. you can get more from coreboot source code. > so there's little benefit to modeling. but it is very important to laptop. > > Regards, > > Anthony Liguori > > > > > Paolo >