login
Login
/
Register
Search
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2008
»
April
»
28
Re: kvm: how big is type?
view
thread
!MAILaRCHIVE_VOTE_RePLACE
Previous message: [
thread
] [
date
] [
author
]
Next message: [thread] [
date
] [
author
]
[view in full thread]
From:
Avi Kivity <avi@...>
To: Izik Eidus <izike@...>
Cc: Harvey Harrison <harvey.harrison@...>, LKML <linux-kernel@...>, kvm-devel <kvm-devel@...>
Subject:
Re: kvm: how big is type?
Date: Monday, April 28, 2008 - 12:10 pm
Izik Eidus wrote:
quoted text
> Avi Kivity wrote: > >> Harvey Harrison wrote: >> >>> arch/x86/kvm/x86.c:3484:25: warning: cast truncates bits from constant >>> value (100 becomes 0) >>> arch/x86/kvm/x86.c:3510:24: warning: cast truncates bits from constant >>> value (100 becomes 0) >>> >>> The problem: >>> cseg_desc.type &= ~(1 << 8); //clear the B flag >>> nseg_desc.type |= (1 << 8); >>> >>> type is a 4-bit bitfield on x86....please look into this. >>> >>> >>> >> I think it ought to be (1 << 1), not (1 << 8), as it refers to the >> "busy" bit of the task type. Izik? >> >> >> > From cf6e76c69a38a983df0c84a3dcc2336042eb3436 Mon Sep 17 00:00:00 2001 > From: Izik Eidus <izike@qumranet.com> > Date: Mon, 28 Apr 2008 18:16:08 +0300 > Subject: [PATCH] KVM: x86: task switch: fix wrong bit setting for the busy flag. > the busy bit is in offset of 1 inside type and not in 8. >
Applied, thanks. -- error compiling committee.c: too many arguments to function --
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [
thread
] [
date
] [
author
]
Next message: [thread] [
date
] [
author
]
Messages in current thread:
kvm: how big is type?
, Harvey Harrison
, (Sun Apr 27, 3:18 pm)
Re: kvm: how big is type?
, Avi Kivity
, (Mon Apr 28, 7:44 am)
Re: kvm: how big is type?
, Izik Eidus
, (Mon Apr 28, 11:23 am)
Re: kvm: how big is type?
, Avi Kivity
, (Mon Apr 28, 12:10 pm)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Greg Kroah-Hartman
[PATCH 008/196] Chinese: add translation of volatile-considered-harmful.txt
Amit K. Arora
[RFC] Heads up on sys_fallocate()
Bart Van Assche
Integration of SCST in the mainstream Linux kernel
Linus Torvalds
Re: Slow DOWN, please!!!
git
:
linux-netdev
:
Gerrit Renker
[PATCH 0/37] dccp: Feature negotiation - last call for comments
David Miller
Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock().
David Miller
[GIT]: Networking
Natalie Protasevich
[BUG] New Kernel Bugs
openbsd-misc
:
Colocation donated by:
Who's online
There are currently
0 users
and
494 guests
online.
Syndicate