[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Xen-devel] [PATCH 1/5] xen/vm_event: Added support for XSETBV events
- To: Jan Beulich <JBeulich@xxxxxxxx>
- From: Razvan Cojocaru <rcojocaru@xxxxxxxxxxxxxxx>
- Date: Fri, 08 May 2015 15:23:21 +0300
- Cc: kevin.tian@xxxxxxxxx, wei.liu2@xxxxxxxxxx, ian.campbell@xxxxxxxxxx, stefano.stabellini@xxxxxxxxxxxxx, andrew.cooper3@xxxxxxxxxx, tim@xxxxxxx, xen-devel@xxxxxxxxxxxxx, eddie.dong@xxxxxxxxx, Aravind.Gopalakrishnan@xxxxxxx, jun.nakajima@xxxxxxxxx, suravee.suthikulpanit@xxxxxxx, boris.ostrovsky@xxxxxxxxxx, keir@xxxxxxx, ian.jackson@xxxxxxxxxxxxx
- Comment: DomainKeys? See http://domainkeys.sourceforge.net/
- Delivery-date: Fri, 08 May 2015 12:22:50 +0000
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=bitdefender.com; b=Pi4b4g/O1lGkpDLLlxGtX1Qmbc+Wo0rR6Xhq0plaX5Dvu7z0ydQpNnla/nwTQGKk7AtWAvzjt7U3sgpJ9cKx/iKUY/XDnuKYcEF+5YD46q8GJTAS99qtm4go/qE2rKjKznsruEZFBPBDvI/4hRd4WpTNxhInkHa5D+9qNlysNC225YnM/Gy8kBvK+WlsZF5yBX3+HfqQyKNMBpd/PxPSGn9VO+30lAMh1y981xwKUQeOwcNGzpLTYCjKQ4leKC4OJ5cOdyzlSwcvRbtDXOdhfl2ajZwKIX24oKam3BUed2AXvd0NQYY7a/iOP44NKjxwOF6rDnZ785ZQD/RL6KDkCA==; h=Received:Received:Received:Received:Received:Message-ID:Date:From:User-Agent:MIME-Version:To:CC:Subject:References:In-Reply-To:Content-Type:Content-Transfer-Encoding:X-BitDefender-Scanner:X-BitDefender-Spam:X-BitDefender-SpamStamp:X-BitDefender-CF-Stamp;
- List-id: Xen developer discussion <xen-devel.lists.xen.org>
On 05/08/2015 03:21 PM, Jan Beulich wrote:
>>>> On 06.05.15 at 19:12, <rcojocaru@xxxxxxxxxxxxxxx> wrote:
>> --- a/xen/arch/x86/hvm/hvm.c
>> +++ b/xen/arch/x86/hvm/hvm.c
>> @@ -2966,6 +2966,8 @@ int hvm_handle_xsetbv(u32 index, u64 new_bv)
>> {
>> struct segment_register sreg;
>>
>> + hvm_event_xsetbv(index, new_bv);
>> +
>> hvm_get_segment_register(current, x86_seg_ss, &sreg);
>> if ( sreg.attr.fields.dpl != 0 )
>> goto err;
>
> I don't think the event should be sent before having done at least
> the CPL check.
Ack.
Thanks,
Razvan
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel
|