[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • To: xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
  • 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
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>
  • Thread-index: AckOGMaOBPM7dXoMEd2qjwAWy5GONg==
  • Thread-topic: [Xen-devel][XSM][PATCH] refactor IO hooks/sysctl hooks

- 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

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.