aboutsummaryrefslogtreecommitdiffstats
path: root/xen/arch/x86/hvm/intercept.c
diff options
context:
space:
mode:
authorEmmanuel Ackaouy <ack@xensource.com>2007-01-05 17:51:07 +0000
committerEmmanuel Ackaouy <ack@xensource.com>2007-01-05 17:51:07 +0000
commit4b0e8fb306f0ae5eda49f60758880663a897d763 (patch)
tree7a6be4daea9b19269e6603c44d94b9b4a40d9868 /xen/arch/x86/hvm/intercept.c
parent01e440201a159b4db82a9aa658247959c1427fef (diff)
downloadxen-4b0e8fb306f0ae5eda49f60758880663a897d763.tar.gz
xen-4b0e8fb306f0ae5eda49f60758880663a897d763.tar.bz2
xen-4b0e8fb306f0ae5eda49f60758880663a897d763.zip
Initial support for HVM compat guests
Signed-off-by: Emmanuel Ackaouy <ack@xensource.com>
Diffstat (limited to 'xen/arch/x86/hvm/intercept.c')
-rw-r--r--xen/arch/x86/hvm/intercept.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xen/arch/x86/hvm/intercept.c b/xen/arch/x86/hvm/intercept.c
index 4a1e682b5d..3de58812c3 100644
--- a/xen/arch/x86/hvm/intercept.c
+++ b/xen/arch/x86/hvm/intercept.c
@@ -182,7 +182,7 @@ int hvm_buffered_io_intercept(ioreq_t *p)
spin_lock(buffered_io_lock);
if ( buffered_iopage->write_pointer - buffered_iopage->read_pointer ==
- (unsigned long)IOREQ_BUFFER_SLOT_NUM ) {
+ (unsigned int)IOREQ_BUFFER_SLOT_NUM ) {
/* the queue is full.
* send the iopacket through the normal path.
* NOTE: The arithimetic operation could handle the situation for