WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel][XSM][PATCH] refactor IO hooks/sysctl hooks

To: xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel][XSM][PATCH] refactor IO hooks/sysctl hooks
From: "George S. Coker, II" <gscoker@xxxxxxxxxxxxxx>
Date: Wed, 03 Sep 2008 18:59:53 -0400
Delivery-date: Wed, 03 Sep 2008 16:02:11 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AckOGMaOBPM7dXoMEd2qjwAWy5GONg==
Thread-topic: [Xen-devel][XSM][PATCH] refactor IO hooks/sysctl hooks
User-agent: Microsoft-Entourage/11.4.0.080122
- The patch refactors the IO resource checks into the rangeset add/del code.
This produces a much more architecture friendly implementation and ensures
that HVM and paravirtualized guests are checked consistently.

- The patch removes the following hooks in support of the refactoring of the
IO resource checks:
    - xsm_irq_permission
    - xsm_iomem_permission
    - xsm_ioport_permission

- The patch adds the following hooks in support of the refactoring of the IO
resource checks:
    - xsm_add_range
    - xsm_remove_range

- These IO refactoring changes are transparent to any pre-existing Flask
policies.

- The patch adds also adds hooks for sysctl functionality that was added
since the last major XSM patch.  The following hooks were added:
    - xsm_set_target
    - xsm_debug_keys
    - xsm_getcpuinfo
    - xsm_availheap
    - xsm_firmware_info
    - xsm_acpi_sleep
    - xsm_change_freq
    - xsm_getidletime
    - xsm_sendtrigger
    - xsm_test_assign_device
    - xsm_assign_device
    - xsm_deassign_device
    - xsm_bind_pt_irq
    - xsm_pin_mem_cacheattr
    - xsm_ext_vcpucontext

Signed-off-by: George Coker <gscoker@xxxxxxxxxxxxxx>

Attachment: xsm-flask-io-sysctl-hooks-090308.diff
Description: Binary data

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel][XSM][PATCH] refactor IO hooks/sysctl hooks, George S. Coker, II <=