Re: [PATCH 1/3] kvm-unit-tests: add x86 port io accessors

2011-02-27 Thread Avi Kivity
On 02/24/2011 11:48 PM, Anthony Liguori wrote: Signed-off-by: Anthony Liguorialigu...@us.ibm.com diff --git a/lib/x86/io.h b/lib/x86/io.h new file mode 100644 index 000..bd6341c --- /dev/null +++ b/lib/x86/io.h @@ -0,0 +1,40 @@ +#ifndef IO_H +#define IO_H + +static inline unsigned char

Re: [Qemu-devel] Re: [PATCH 1/3] kvm-unit-tests: add x86 port io accessors

2011-02-27 Thread Anthony Liguori
On 02/27/2011 06:44 AM, Avi Kivity wrote: On 02/24/2011 11:48 PM, Anthony Liguori wrote: Signed-off-by: Anthony Liguorialigu...@us.ibm.com diff --git a/lib/x86/io.h b/lib/x86/io.h new file mode 100644 index 000..bd6341c --- /dev/null +++ b/lib/x86/io.h @@ -0,0 +1,40 @@ +#ifndef IO_H

Re: [Qemu-devel] Re: [PATCH 1/3] kvm-unit-tests: add x86 port io accessors

2011-02-27 Thread Avi Kivity
On 02/27/2011 04:01 PM, Anthony Liguori wrote: On 02/27/2011 06:44 AM, Avi Kivity wrote: On 02/24/2011 11:48 PM, Anthony Liguori wrote: Signed-off-by: Anthony Liguorialigu...@us.ibm.com diff --git a/lib/x86/io.h b/lib/x86/io.h new file mode 100644 index 000..bd6341c --- /dev/null +++

[PATCH 1/3] kvm-unit-tests: add x86 port io accessors

2011-02-24 Thread Anthony Liguori
Signed-off-by: Anthony Liguori aligu...@us.ibm.com diff --git a/lib/x86/io.h b/lib/x86/io.h new file mode 100644 index 000..bd6341c --- /dev/null +++ b/lib/x86/io.h @@ -0,0 +1,40 @@ +#ifndef IO_H +#define IO_H + +static inline unsigned char inb(unsigned short port) +{ +unsigned char