search for: tpmif_t

Displaying 4 results from an estimated 4 matches for "tpmif_t".

2012 Nov 20
52
[PATCH RFC] stubdom: Change vTPM shared page ABI
...ace */ diff --git a/extras/mini-os/include/tpmfront.h b/extras/mini-os/include/tpmfront.h index fd2cb17..a0c7c4d 100644 --- a/extras/mini-os/include/tpmfront.h +++ b/extras/mini-os/include/tpmfront.h @@ -37,9 +37,7 @@ struct tpmfront_dev { grant_ref_t ring_ref; evtchn_port_t evtchn; - tpmif_tx_interface_t* tx; - - void** pages; + vtpm_shared_page_t *page; domid_t bedomid; char* nodename; @@ -77,6 +75,9 @@ void shutdown_tpmfront(struct tpmfront_dev* dev); * */ int tpmfront_cmd(struct tpmfront_dev* dev, uint8_t* req, size_t reqlen, uint8_t** resp, size_t* resplen); +/*...
2011 Apr 04
0
[PATCH] linux-2.6.18/backends: use xenbus_be.ko interfaces instead of open-coding them
...kend_watch; +}; typedef struct tpmif_st { struct list_head tpmif_list; @@ -44,8 +55,6 @@ typedef struct tpmif_st { struct backend_info *bi; - grant_handle_t shmem_handle; - grant_ref_t shmem_ref; struct page **mmap_pages; char devname[20]; @@ -59,7 +68,7 @@ void tpmif_schedule_work(tpmif_t * tpmif void tpmif_deschedule_work(tpmif_t * tpmif); void tpmif_xenbus_init(void); void tpmif_xenbus_exit(void); -int tpmif_map(tpmif_t *tpmif, unsigned long shared_page, unsigned int evtchn); +int tpmif_map(tpmif_t *, grant_ref_t, evtchn_port_t); irqreturn_t tpmif_be_int(int irq, void *dev_id,...
2010 Sep 15
15
xenpaging fixes for kernel and hypervisor
Patrick, there following patches fix xenpaging for me. Granttable handling is incomplete. If a page is gone, a GNTST_eagain should be returned to the caller to inidcate the hypercall has to be retried after a while, until the page is available again. Please review. Olaf _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com
2011 Dec 01
11
[PATCH 0 of 2] Paging support updates for XCP dom0
This is a cherry pick of two patches that add support for guest paged out frames in the XCP 2.6.32 dom0 patch queue. First patch propagates the ENOENT returned by the hypervisor in the case of a paged out page, all the way up the call chain to the MMAPBATCH_V2 ioctl. The ioctl is mainly used to harvest those return values and retry. The second patch adds retry loops to all backend grant