Re: [Xen-devel] Adding new custom devices to Xen via QEMU

2016-09-30 Thread Jason Dickens
On 9/30/2016 3:47 PM, Konrad Rzeszutek Wilk wrote: On Fri, Sep 30, 2016 at 03:20:09PM -0400, Jason Dickens wrote: Thanks Konrad, [CC-ing Xen-devel again.] I think you and David have successfully answered my question and pointed me to the key code. I have already verified that the device operat

Re: [Xen-devel] Adding new custom devices to Xen via QEMU

2016-09-30 Thread Konrad Rzeszutek Wilk
On Fri, Sep 30, 2016 at 03:20:09PM -0400, Jason Dickens wrote: > Thanks Konrad, [CC-ing Xen-devel again.] > > I think you and David have successfully answered my question and pointed me > to the key code. I have already verified that the device operates if I move > it into the space of the TPM, b

Re: [Xen-devel] Adding new custom devices to Xen via QEMU

2016-09-30 Thread Konrad Rzeszutek Wilk
On Fri, Sep 30, 2016 at 10:29:20AM -0400, Jason Dickens wrote: > Thanks David, > > This could very well be the issue, but could you please elaborate? > The questions that come up are the following: > What is the physical address range given to RAM? What range of addresses > would work for my devic

Re: [Xen-devel] Adding new custom devices to Xen via QEMU

2016-09-30 Thread Jason Dickens
Thanks David, This could very well be the issue, but could you please elaborate? The questions that come up are the following: What is the physical address range given to RAM? What range of addresses would work for my device? And, if this is the case, how would I unpopulate the RAM? There are

Re: [Xen-devel] Adding new custom devices to Xen via QEMU

2016-09-30 Thread David Vrabel
On 30/09/16 14:35, Jason Dickens wrote: > Hi Wei, > > Thanks for the response. It make sense to me that if the device were on > the PCI bus (or other such bus, e.g. USB) that it could be discovered, > at least by an OS. Its something to consider. I should mention that our > guest VM doesn't actual

Re: [Xen-devel] Adding new custom devices to Xen via QEMU

2016-09-30 Thread Jason Dickens
Hi Wei, Thanks for the response. It make sense to me that if the device were on the PCI bus (or other such bus, e.g. USB) that it could be discovered, at least by an OS. Its something to consider. I should mention that our guest VM doesn't actually use an OS. However, the device is not imple

Re: [Xen-devel] Adding new custom devices to Xen via QEMU

2016-09-30 Thread Wei Liu
Hello On Thu, Sep 29, 2016 at 09:35:21AM -0400, Jason Dickens wrote: > Hello, > > My name is Jason Dickens and I'm a Research Scientist here at GrammaTech. > Some of our research involves securing hypervisors and we have needed to add > to and/or modify Xen. I have been successful in modifying th

[Xen-devel] Adding new custom devices to Xen via QEMU

2016-09-29 Thread Jason Dickens
Hello, My name is Jason Dickens and I'm a Research Scientist here at GrammaTech. Some of our research involves securing hypervisors and we have needed to add to and/or modify Xen. I have been successful in modifying the source for various purposes, but my question now is about devices. We hav