Re: [PATCH] xio3130_downstream: Add ACS (Access Control Services) capability

2023-02-17 Thread Paul Schlacter
ping On Tue, Jan 31, 2023 at 2:30 PM wlfightup wrote: > > When vfio-pci devices are attached to the downstream, pcie acs > capability may be needed, Consistent with physical machine. > > It has been tested in our environment, and pcie acs capability > is required in some scenarios. > > Claim ACS

Re: [PATCH v3] xio3130_upstream: Add ACS (Access Control Services) capability

2023-01-01 Thread Paul Schlacter
The upstream and downstream of the physical machine also have acs capability. The virtual machine should at least have a way to see the acs On Sun, Jan 1, 2023 at 5:03 PM Paul Schlacter wrote: > > Please help review and merge the code into the master. Thank you very much. > > pin

Re: [PATCH v3] xio3130_upstream: Add ACS (Access Control Services) capability

2023-01-01 Thread Paul Schlacter
Please help review and merge the code into the master. Thank you very much. ping On Sat, Aug 20, 2022 at 7:31 AM Paul Schlacter wrote: > > ping > > On Thu, Aug 18, 2022 at 10:25 PM Paul Schlacter wrote: > > > > If it is a pcie device, check that all devices on the pat

Re: [PATCH v3] xio3130_upstream: Add ACS (Access Control Services) capability

2022-08-19 Thread Paul Schlacter
ping On Thu, Aug 18, 2022 at 10:25 PM Paul Schlacter wrote: > > If it is a pcie device, check that all devices on the path from > the device to the root complex have ACS enabled, and then the > device will become an iommu_group. > > pci_acs_path_enabled, this function in th

[PATCH v3] xio3130_upstream: Add ACS (Access Control Services) capability

2022-08-18 Thread Paul Schlacter
If it is a pcie device, check that all devices on the path from the device to the root complex have ACS enabled, and then the device will become an iommu_group. pci_acs_path_enabled, this function in the Linux kernel, it means that if the device is a PCIe device, check the path from the device to

Re: [PATCH v2] xio3130_upstream: Add ACS (Access Control Services) capability

2022-08-16 Thread Paul Schlacter
On Tue, Aug 16, 2022 at 6:11 PM Michael S. Tsirkin wrote: > > On Tue, Aug 16, 2022 at 05:16:38PM +0800, Paul Schlacter wrote: > > v1 -> v2: > > - Allow ACS to be disabled. > > - Suggested by Michael S. Tsirkin, use disable-acs to set property. > > > > v1:

[PATCH v3] xio3130_upstream: Add ACS, Access Control Services, capability

2022-08-16 Thread Paul Schlacter
v2 -> v3: - Add the missing code in V2. v1 -> v2: - Allow ACS to be disabled. - Suggested by Michael S. Tsirkin, use disable-acs to set property. v1: - Add ACS (Access Control Services) capability. If it is a pcie device, check that all devices on the path from the device to the root complex ha

[PATCH v2] xio3130_upstream: Add ACS (Access Control Services) capability

2022-08-16 Thread Paul Schlacter
v1 -> v2: - Allow ACS to be disabled. - Suggested by Michael S. Tsirkin, use disable-acs to set property. v1: - Add ACS (Access Control Services) capability. If it is a pcie device, check that all devices on the path from the device to the root complex have ACS enabled, and then the device will

Re: [PATCH] xio3130_upstream: Add ACS (Access Control Services) capability

2022-08-14 Thread Paul Schlacter
What's wrong with not disabling the old version? On Sun, Aug 14, 2022 at 6:48 PM Michael S. Tsirkin wrote: > On Sun, Aug 14, 2022 at 03:47:49PM +0800, Paul Schlacter wrote: > > If it is a pcie device, check that all devices on the path from > > > > the device to

[PATCH] xio3130_upstream: Add ACS (Access Control Services) capability

2022-08-14 Thread Paul Schlacter
If it is a pcie device, check that all devices on the path from the device to the root complex have ACS enabled, and then the device will become an iommu_group. it will have the effect of isolation Signed-off-by: wlfightup --- hw/pci-bridge/xio3130_upstream.c | 3 +++ 1 file changed, 3 in

Re: [PATCH] xio3130_downstream: Add ACS (Access Control Services) capability

2022-05-17 Thread Paul Schlacter
pin On Mon, May 16, 2022 at 9:54 PM Wang,Liang(ACG CCN01) wrote: > When vfio-pci devices are attached to the downstream, pcie acs > > capability may be needed, Consistent with physical machine. > > > It has been tested in our environment, and pcie acs capability > > is required in some scenarios

Re: [Qemu-devel] qemu disk use writeback don't take effect in centos 7.2 1511

2017-11-02 Thread Paul Schlacter
ormal is cache = writeback io significantly higher than none mode why? On Wed, Nov 1, 2017 at 8:03 PM, Paul Schlacter wrote: > Hi David: > yes, with the same qemu, centos 7.2 guest cache is writeback and > none, the disk io almost, writeback feeling no effect. > but 7

Re: [Qemu-devel] qemu disk use writeback don't take effect in centos 7.2 1511

2017-11-01 Thread Paul Schlacter
Hi David: yes, with the same qemu, centos 7.2 guest cache is writeback and none, the disk io almost, writeback feeling no effect. but 7.1/7.3/7.4 cache is writeback was significantly faster than none model On Wed, Nov 1, 2017 at 8:02 PM, Paul Schlacter wrote: > Hi David: >

[Qemu-devel] qemu disk use writeback don't take effect in centos 7.2 1511

2017-11-01 Thread Paul Schlacter
qemu version: 2.9.0 image: centos 7.2 1511 raw cache mode: writeback In centos7.2 time, the use of writeback and none, the result of dd disk is the same io, no change But I replaced centos7.1 centos7.3 centos7.4 when writeback was significantly faster than none Would like to ask what is going

[Qemu-devel] use qemu dataplane report '.x-data-plane' not found

2017-10-16 Thread Paul Schlacter
qemu-kvm: -device virtio-blk-pci,scsi=off,bus=pci.0,addr=0x5,drive=drive-virtio-disk0,id=virtio-disk0,bootindex=1: Property '.x-data-plane' not found What is wrong with this report? is Compiler qemu lost parameters?

[Qemu-devel] hot plug cpu report error

2017-10-09 Thread Paul Schlacter
report error: intel_rapl: no valid rapl domains found in package 0 intel_rapl: no valid rapl domains found in package 0 and then will shutdown after in a moment of time qemu log : qemu: qemu_mutex_lock: Invalid argument 2017-10-09 09:27:34.781+: shutting down, reason=crashed Find a sol

[Qemu-devel] host doesn't support requested feature: CPUID.01H:EDX.ds [bit 21] Does this warn affect virtual machine performance or use?

2017-09-14 Thread Paul Schlacter
this is my stackoverflow question: https://stackoverflow.com/questions/46219552/host-doesnt-support-requested-feature-cpuid-01hedx-ds-bit-21-does-this-warn I found a lot of warning from the VM qemu log, Does this warn affect virtual machine performance or use? , is my libvirt.xml file problem? Or

[Qemu-devel] Hello everyone, ask a few vm hot plug cpu and ram problem

2017-09-07 Thread Paul Schlacter
Like CPU and ram have a maximum value. If I want to produce this product, provided to the cloud host users. The maximum value is set to how much more appropriate. If the settings are too small, users want to dynamically add CPU or memory, and can't meet the needs of users. If the setting is to

[Qemu-devel] how to modify or add machines type ?

2017-09-06 Thread Paul Schlacter
I made the default config build the qemu-kvm , But I used virsh xml corresponding machine-type inconsistent, resulting in an error. error: 2017-09-06T12:16:36.036200Z qemu-kvm: -machine pc-i440fx-rhel7.0.0,accel=kvm,usb=off: unsupported machine type Use -machine help to list supported machines I