From: Chen Hanxiao
This patch add support for freeze specified fs.
The valid mountpoints list member are [1]:
The path of a mounted folder, for example, Y:\MountX\
A drive letter, for example, D:\
A volume GUID path of the form \\?\Volume{GUID}\,
where GUID identifies the volume
From: Chen Hanxiao
This patch add support for freeze specified fs.
The valid mountpoints list member are [1]:
The path of a mounted folder, for example, Y:\MountX\
A drive letter, for example, D:\
A volume GUID path of the form \\?\Volume{GUID}\,
where GUID identifies the volume
At 2018-08-24 04:22:08, "Michael Roth" wrote:
>Quoting Chen Hanxiao (2018-08-09 20:13:48)
>> From: Chen Hanxiao
>>
>> This patch add support for freeze specified fs.
>>
>> The valid mountpoints list member are [1]:
>>
>> The path of
From: Chen Hanxiao
This patch add support for freeze specified fs.
The valid mountpoints list member are [1]:
The path of a mounted folder, for example, Y:\MountX\
A drive letter, for example, D:\
A volume GUID path of the form \\?\Volume{GUID}\,
where GUID identifies the volume
From: Chen Hanxiao
This patch add support for freeze specified fs.
The valid mountpoints list member are [1]:
The path of a mounted folder, for example, Y:\MountX\
A drive letter, for example, D:\
A volume GUID path of the form \\?\Volume{GUID}\,
where GUID identifies the volume
From: Chen Hanxiao
If we set mountpoints to qmp_guest_fsfreeze_freeze_list,
we may got nothing to freeze as all mountpoints are
not valid.
So call ga_unset_frozen in this senario.
Also, if we return 0 frozen fs, there is no need to call
guest-fsfreeze-thaw.
Cc: Michael Roth
Signed-off
This series report the usage of guest's fs
by "used_bytes" and "total_bytes" in guest-get-fsinfo.
Chen Hanxiao (2):
qga: add mountpoint usage info to GuestFilesystemInfo
qga-win: add driver path usage to GuestFilesystemInfo
qga/commands-posix.c | 15 +++
From: Chen Hanxiao
This patch adds support for getting the usage of
windows driver path.
The usage of fs stored as used_bytes and total_bytes.
Cc: Michael Roth
Signed-off-by: Chen Hanxiao
---
v2:
unpack usage as used-bytes and total-bytes
qga/commands-win32.c | 12
1 file
From: Chen Hanxiao
This patch adds support for getting the usage of mounted
filesystem.
The usage of fs stored as used_bytes and total_bytes.
It's very useful when we try to monitor guest's filesystem.
Cc: Michael Roth
Cc: Daniel P. Berrangé
Reviewed-by: Eric Blake
Signed-off-by: Chen
At 2018-06-02 01:15:14, "Eric Blake" wrote:
>On 06/01/2018 11:57 AM, Chen Hanxiao wrote:
>> From: Chen Hanxiao
...
>> fs->mountpoint = g_strdup("System Reserved");
>> } else {
>> fs->mountpoint = g_strndup(m
在 2018-06-01 23:47:04,"Eric Blake" 写道:
>On 06/01/2018 10:27 AM, Chen Hanxiao wrote:
>> From: Chen Hanxiao
>>
>> This patch adds support for getting the usage of mounted
>> filesystem.
>> The usage of fs stored as used_bytes and total_bytes.
>>
This series report the usage of guest's fs
by "used_bytes" and "total_bytes" in guest-get-fsinfo.
Chen Hanxiao (2):
qga: add mountpoint usage info to GuestFilesystemInfo
qga-win: add driver path usage to GuestFilesystemInfo
qga/commands-posix.c | 18 ++
From: Chen Hanxiao
This patch adds support for getting the usage of
windows driver path.
The usage of fs stored as used_bytes and total_bytes.
Cc: Michael Roth
Signed-off-by: Chen Hanxiao
---
v2:
unpack usage as used-bytes and total-bytes
qga/commands-win32.c | 12
1 file
From: Chen Hanxiao
This patch adds support for getting the usage of mounted
filesystem.
The usage of fs stored as used_bytes and total_bytes.
It's very useful when we try to monitor guest's filesystem.
Cc: Michael Roth
Cc: Eric Blake
Cc: Daniel P. Berrangé
Signed-off-by: Chen Hanxiao
---
v2
At 2018-06-01 20:19:56, "Daniel P. Berrangé" wrote:
>On Fri, Jun 01, 2018 at 02:11:21PM +0800, Chen Hanxiao wrote:
>> From: Chen Hanxiao
>>
>> This patch adds support for getting the usage of mounted
>> filesystem.
>> It's very useful when we t
From: Chen Hanxiao
This patch adds support for getting the usage of mounted
filesystem.
The usage of fs stored as used_bytes and total_bytes.
It's very useful when we try to monitor guest's filesystem.
Cc: Michael Roth
Cc: Eric Blake
Cc: Daniel P. Berrangé
Signed-off-by: Chen Hanxiao
This series report the usage of guest's fs
by "used_bytes" and "total_bytes" by guest-get-fsinfo.
Chen Hanxiao (2):
qga: add mountpoint usage to GuestFilesystemInfo
qga-win: add driver path usage to GuestFilesystemInfo
qga/commands-posix.c | 19 +++
From: Chen Hanxiao
This patch adds support for getting the usage of
windows driver path.
The usage of fs stored as used_bytes and total_bytes.
Cc: Michael Roth
Signed-off-by: Chen Hanxiao
---
qga/commands-win32.c | 13 +
1 file changed, 13 insertions(+)
diff --git a/qga/commands
From: Chen Hanxiao
This patch adds support for getting the usage of mounted
filesystem.
It's very useful when we try to monitor guest's filesystem.
Cc: Michael Roth
Cc: Eric Blake
Signed-off-by: Chen Hanxiao
---
v2:
add description in qapi-schema and version numbers
v3:
use float
From: Chen Hanxiao
This patch adds support for getting the usage of mounted
filesystem.
It's very useful when we try to monitor guest's filesystem.
Cc: Michael Roth
Cc: Eric Blake
Signed-off-by: Chen Hanxiao
---
v2:
add description in qapi-schema and version numbers
v3:
use float
From: Chen Hanxiao
This patch adds support for getting the usage of mounted
filesystem.
It's very useful when we try to monitor guest's filesystem.
Cc: Michael Roth
Signed-off-by: Chen Hanxiao
---
v2:
add description in qapi-schema and version numbers
qga/commands-posix.c | 17
At 2018-05-30 11:19:27, "Eric Blake" wrote:
>On 05/29/2018 10:01 PM, Chen Hanxiao wrote:
>> From: Chen Hanxiao
>>
>> This patch adds support for getting the usage of mounted
>> filesystem.
>> It's very useful when we try to monitor guest's files
From: Chen Hanxiao
This patch adds support for getting the usage of mounted
filesystem.
It's very useful when we try to monitor guest's filesystem.
Use df of coreutils for reference.
Cc: Michael Roth
Signed-off-by: Chen Hanxiao
---
qga/commands-posix.c | 17 +
qga/qapi
From: Chen Hanxiao
If we set mountpoints to qmp_guest_fsfreeze_freeze_list,
we may got nothing to freeze as all mountpoints are
not valid.
So call ga_unset_frozen in this senario.
Also, if we return 0 frozen fs, there is no need to call
guest-fsfreeze-thaw.
Cc: Michael Roth
Signed-off
At 2018-04-02 14:15:48, "Chen Hanxiao" <chen_han_x...@126.com> wrote:
>From: Chen Hanxiao <chenhanx...@gmail.com>
>
>If we set mountpoints to qmp_guest_fsfreeze_freeze_list,
>we may got nothing to freeze as all mountpoints are
>not valid.
>So call ga_unse
From: Chen Hanxiao <chenhanx...@gmail.com>
If we set mountpoints to qmp_guest_fsfreeze_freeze_list,
we may got nothing to freeze as all mountpoints are
not valid.
So call ga_unset_frozen in this senario.
Also, if we return 0 frozen fs, there is no need to call
guest-fsfreeze-thaw.
Cc: M
From: Chen Hanxiao <chenhanx...@gmail.com>
If we set mountpoints to qmp_guest_fsfreeze_freeze_list,
we may got nothing to freeze as all mountpoints are
not valid.
So call ga_unset_frozen in this senario.
Also, if we return 0 frozen fs, there is no need to call
guest-fsfreeze-thaw.
Cc: M
From: Chen Hanxiao <chenhanx...@gmail.com>
If we set mountpoints to qmp_guest_fsfreeze_freeze_list,
we may got nothing to freeze as all mountpoints are
not valid.
So call ga_unset_frozen in this senario.
Also, if we return 0 frozen fs, there is no need to call
guest-fsfreeze-thaw.
Cc: M
At 2018-02-16 02:41:25, "Michael Roth" <mdr...@linux.vnet.ibm.com> wrote:
>Quoting Chen Hanxiao (2018-02-08 19:35:42)
>> From: Chen Hanxiao <chenhanx...@gmail.com>
>>
>> If we set mountpoints to qmp_guest_fsfreeze_freeze_list,
>> we may got noth
From: Chen Hanxiao <chenhanx...@gmail.com>
If we set mountpoints to qmp_guest_fsfreeze_freeze_list,
we may got nothing to freeze as all mountpoints are
not valid.
Call ga_unset_frozen in this senario.
Cc: Michael Roth <mdr...@linux.vnet.ibm.com>
Signed-off-by: Chen Hanxiao <chenha
From: Chen Hanxiao <chenhanx...@gmail.com>
If we set mountpoints to qmp_guest_fsfreeze_freeze_list,
we may got nothing to freeze as all mountpoints are
not valid.
Call ga_unset_frozen in this senario.
Cc: Michael Roth <mdr...@linux.vnet.ibm.com>
Signed-off-by: Chen Hanxiao <chenha
At 2017-12-16 15:34:17, "Chen Hanxiao" <chen_han_x...@126.com> wrote:
>From: Chen Hanxiao <chenhanx...@gmail.com>
>
>If we set mountpoints to qmp_guest_fsfreeze_freeze_list,
>we may got nothing to freeze as all mountpoints are
>not valid.
>Call ga_unse
From: Chen Hanxiao <chenhanx...@gmail.com>
If we set mountpoints to qmp_guest_fsfreeze_freeze_list,
we may got nothing to freeze as all mountpoints are
not valid.
Call ga_unset_frozen in this senario.
Cc: Michael Roth <mdr...@linux.vnet.ibm.com>
Signed-off-by: Chen Hanxiao <chenha
在 2017-11-08 03:43:20,"Michael Roth" <mdr...@linux.vnet.ibm.com> 写道:
>Quoting Michael Roth (2017-11-07 11:06:55)
>> Quoting Chen Hanxiao (2017-11-07 05:37:16)
>> > From: Chen Hanxiao <chenhanx...@gmail.com>
>> >
>> > s/Sube
From: Chen Hanxiao <chenhanx...@gmail.com>
s/Subection/Subsection
Reviewed-by: Marc-André Lureau <marcandre.lur...@redhat.com>
Signed-off-by: Chen Hanxiao <chenhanx...@gmail.com>
---
docs/devel/qapi-code-gen.txt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff
ský (2017-09-29 16:31:02)
>> > > On Fri, 29 Sep 2017 17:11:22 +0800
>> > > Chen Hanxiao <chen_han_x...@126.com> wrote:
>> > >
>> > > Reviewed-by: Tomáš Golembiovský <tgole...@redhat.com>
>> >
>> > I think it might be
At 2017-10-26 17:59:34, "Michael Roth" <mdr...@linux.vnet.ibm.com> wrote:
>Quoting Chen Hanxiao (2017-10-26 04:27:40)
>>
>>
>> At 2017-10-26 05:58:07, "Michael Roth" <mdr...@linux.vnet.ibm.com> wrote:
>> >Quoting Tomáš Golembiovský
At 2017-10-26 05:58:07, "Michael Roth" <mdr...@linux.vnet.ibm.com> wrote:
>Quoting Tomáš Golembiovský (2017-09-29 16:31:02)
>> On Fri, 29 Sep 2017 17:11:22 +0800
>> Chen Hanxiao <chen_han_x...@126.com> wrote:
>>
>> > From: Chen Hanxiao &
From: Chen Hanxiao <chenhanx...@gmail.com>
When VM is in a heavy IO, if the command "guest-fsfreeze-freeze"
is executed, VSS may timeout when trying to hold writes.
Inside guest, Event ID 12298(VSS_ERROR_HOLD_WRITES_TIMEOUT)
is logged in the Event Viewer.
At that time, if we
From: Chen Hanxiao <chenhanx...@gmail.com>
s/Subection/Subsection
Signed-off-by: Chen Hanxiao <chenhanx...@gmail.com>
---
docs/devel/qapi-code-gen.txt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/docs/devel/qapi-code-gen.txt b/docs/devel/qapi-code-g
At 2017-09-22 10:46:06, "Chen Hanxiao" <chen_han_x...@126.com> wrote:
>From: Chen Hanxiao <chenhanx...@gmail.com>
>
>When VM is in a heavy IO, if the command "guest-fsfreeze-freeze"
>is executed, VSS may timeout when trying to
; Tomoki
>
>
> 2017-09-22 11:46 GMT+09:00 Chen Hanxiao <chen_han_x...@126.com>:
>
> From: Chen Hanxiao <chenhanx...@gmail.com>
>
>
>
> When VM is in a heavy IO, if the command "guest-fsfreeze-freeze"
>
> is executed, VSS may timeout when
From: Chen Hanxiao <chenhanx...@gmail.com>
When VM is in a heavy IO, if the command "guest-fsfreeze-freeze"
is executed, VSS may timeout when trying to hold writes.
Inside guest, Event ID 12298(VSS_ERROR_HOLD_WRITES_TIMEOUT)
is logged in the Event Viewer.
At that time, if we
From: Chen Hanxiao <chenhanx...@gmail.com>
If backend(such as dpdk) lack the feather,
don't assume it in vring_enable.
Or we may fail in vhost_net_start, then we can't use vhost.
This will bring compat issue with old version backend.
Signed-off-by: Chen Hanxiao <chenhanx...@gmail.co
From: Chen Hanxiao <chenhanx...@gmail.com>
If backend(such as dpdk) lack this feature,
don't assume it and mark it in vring_enable.
Or we may fail in vhost_net_start,
then we can't use vhost net.
This will bring compat issue with old version backend.
Signed-off-by: Chen Hanxiao <
At 2016-09-03 16:44:47, "Chen Hanxiao" <chen_han_x...@126.com> wrote:
>From: Chen Hanxiao <chenhanx...@gmail.com>
>
>If backend(such as dpdk) lack this feature,
>don't assume it and mark it in vring_enable.
>Or we may fail in vhost_net_start,
>then we can'
From: Chen Hanxiao <chenhanx...@gmail.com>
If backend(such as dpdk) lack this feature,
don't assume it and mark it in vring_enable.
Or we may fail in vhost_net_start,
then we can't use vhost net.
This will bring compat issue with old version backend.
Signed-off-by: Chen Hanxiao <
At 2016-09-01 20:52:44, "Marc-André Lureau" <marcandre.lur...@gmail.com> wrote:
>Hi
>
>On Thu, Sep 1, 2016 at 4:00 PM Chen Hanxiao <chen_han_x...@126.com> wrote:
>
>>
>> Hi, here is the backtrace:
>>
>> #0 net_vhost_user_event (opaque
在 2016-09-01 19:43:31,"Marc-André Lureau" <marcandre.lur...@gmail.com> 写道:
Hi
On Thu, Sep 1, 2016 at 2:15 PM Chen Hanxiao <chen_han_x...@126.com> wrote:
From: Chen Hanxiao <chenhanx...@gmail.com>
If we can't find a suitable net client, return directly.
Or we w
From: Chen Hanxiao <chenhanx...@gmail.com>
If we can't find a suitable net client, return directly.
Or we will got a segmentation fault.
Signed-off-by: Chen Hanxiao <chenhanx...@gmail.com>
---
net/vhost-user.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/net/vhost-user.c
On 12/01/2015 02:10 AM, Eric Blake wrote:
On 11/27/2015 08:01 PM, Chen Hanxiao wrote:
From: Chen Hanxiao <chenhanx...@gmail.com>
This patch add support for system_suspend qmp command.
Signed-off-by: Chen Hanxiao <chenhanx...@gmail.com>
---
qapi-schema.json | 9 +
qmp
From: Chen Hanxiao <chenhanx...@gmail.com>
This patch add support for system_suspend command.
Signed-off-by: Chen Hanxiao <chenhanx...@gmail.com>
---
hmp-commands.hx | 14 ++
hmp.c | 5 +
hmp.h | 1 +
qmp.c | 5 +
4 files
From: Chen Hanxiao <chenhanx...@gmail.com>
This patch add support for system_suspend qmp command.
Signed-off-by: Chen Hanxiao <chenhanx...@gmail.com>
---
qapi-schema.json | 9 +
qmp-commands.hx | 21 +
qmp.c| 5 +
3 files changed, 3
From: Chen Hanxiao <chenhanx...@gmail.com>
Chen Hanxiao (2):
qmp: add support for system_suspend
hmp: add support for system_suspend
hmp-commands.hx | 14 ++
hmp.c| 5 +
hmp.h| 1 +
qapi-schema.json | 9 +
qmp-commands.hx
From: Chen Hanxiao <chenhanx...@gmail.com>
This patch add support for system_suspend hmp command.
Signed-off-by: Chen Hanxiao <chenhanx...@gmail.com>
---
hmp-commands.hx | 14 ++
hmp.c | 5 +
hmp.h | 1 +
3 files changed, 20 insertions(+)
diff
On 11/28/2015 01:53 AM, Eric Blake wrote:
On 11/27/2015 08:15 AM, Chen Hanxiao wrote:
From: Chen Hanxiao <chenhanx...@gmail.com>
This patch add support for system_suspend command.
Signed-off-by: Chen Hanxiao <chenhanx...@gmail.com>
---
hmp-commands.hx | 14 ++
Hi, Alex
-Original Message-
From: Alex Williamson [mailto:alex.william...@redhat.com]
To: Chen, Hanxiao
Cc: qemu-devel@nongnu.org; Chen, Fan
Subject: Re: [Qemu-devel] [PATCH v12 00/15] vfio-pci: pass the aer error to
guest
On Thu, 2015-07-16 at 12:00 +0800, Chen Hanxiao wrote
-Original Message-
From: qemu-devel-bounces+chenhanxiao=cn.fujitsu@nongnu.org
[mailto:qemu-devel-bounces+chenhanxiao=cn.fujitsu@nongnu.org] On Behalf Of
Chen Hanxiao
Sent: Friday, July 24, 2015 11:12 AM
To: Paolo Bonzini
Cc: qemu-devel@nongnu.org
Subject: [Qemu-devel
Use ROUND_UP instead.
Signed-off-by: Chen Hanxiao chenhanx...@cn.fujitsu.com
---
exec.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/exec.c b/exec.c
index 7d60e15..bb16c50 100644
--- a/exec.c
+++ b/exec.c
@@ -1207,7 +1207,7 @@ static void *file_ram_alloc(RAMBlock *block
Signed-off-by: Chen Hanxiao chenhanx...@cn.fujitsu.com
---
exec.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/exec.c b/exec.c
index 7d60e15..f84b485 100644
--- a/exec.c
+++ b/exec.c
@@ -1153,6 +1153,8 @@ static long gethugepagesize(const char *path, Error
**errp
-Original Message-
From: qemu-devel-bounces+chenhanxiao=cn.fujitsu@nongnu.org
[mailto:qemu-devel-bounces+chenhanxiao=cn.fujitsu@nongnu.org] On Behalf Of
Chen Hanxiao
Sent: Tuesday, July 14, 2015 4:16 PM
To: Michael S. Tsirkin; qemu-devel@nongnu.org
Subject: [Qemu-devel
From: Chen Fan chen.fan.f...@cn.fujitsu.com
Calling pcie_aer_init to initilize aer related registers for
vfio device, then reload physical related registers to expose
device capability.
Signed-off-by: Chen Fan chen.fan.f...@cn.fujitsu.com
Signed-off-by: Chen Hanxiao chenhanx...@cn.fujitsu.com
From: Chen Fan chen.fan.f...@cn.fujitsu.com
the function is used to get affected devices by bus reset.
so here extract it, and can used for aer soon.
Signed-off-by: Chen Fan chen.fan.f...@cn.fujitsu.com
Signed-off-by: Chen Hanxiao chenhanx...@cn.fujitsu.com
---
hw/vfio/pci.c | 65
From: Chen Fan chen.fan.f...@cn.fujitsu.com
add 'aer' property to let user able to decide whether expose
the aer capability. by default we should disable aer feature,
because it needs configuration restrictions.
Signed-off-by: Chen Fan chen.fan.f...@cn.fujitsu.com
Signed-off-by: Chen Hanxiao
Fan chen.fan.f...@cn.fujitsu.com
Signed-off-by: Chen Hanxiao chenhanx...@cn.fujitsu.com
---
hw/pci/pci.c | 16
hw/pci/pci_bridge.c | 6 ++
include/hw/pci/pci.h | 4
include/hw/pci/pci_bus.h | 2 ++
4 files changed, 28 insertions(+)
diff --git a/hw
From: Chen Fan chen.fan.f...@cn.fujitsu.com
For now, when qemu receives an error from host aer report
by vfio pci passthough devices, qemu just terminate the guest.
Usually user want to know what error occurred
rather than stop the guest.
This patches add aer capability support for vfio device,
...@cn.fujitsu.com
Signed-off-by: Chen Hanxiao chenhanx...@cn.fujitsu.com
---
hw/vfio/pci.c | 72 ++-
1 file changed, 71 insertions(+), 1 deletion(-)
diff --git a/hw/vfio/pci.c b/hw/vfio/pci.c
index cae45a0..d7dc8a1 100644
--- a/hw/vfio/pci.c
+++ b
From: Chen Fan chen.fan.f...@cn.fujitsu.com
For vfio device, we need to propagate the aer error to
Guest OS. we use the pcie_aer_msg() to send aer error
to guest.
Signed-off-by: Chen Fan chen.fan.f...@cn.fujitsu.com
Reviewed-by: Marcel Apfelbaum mar...@redhat.com
Signed-off-by: Chen Hanxiao
Signed-off-by: Chen Hanxiao chenhanx...@cn.fujitsu.com
---
hw/vfio/pci.c | 13 +
1 file changed, 13 insertions(+)
diff --git a/hw/vfio/pci.c b/hw/vfio/pci.c
index bab72a4..c52456b 100644
--- a/hw/vfio/pci.c
+++ b/hw/vfio/pci.c
@@ -3287,6 +3287,7 @@ static int vfio_pci_hot_reset
From: Chen Fan chen.fan.f...@cn.fujitsu.com
Device's Offset and size can reach PCIE_CONFIG_SPACE_SIZE,
fix the corresponding assert.
Signed-off-by: Chen Fan chen.fan.f...@cn.fujitsu.com
Reviewed-by: Marcel Apfelbaum mar...@redhat.com
Signed-off-by: Chen Hanxiao chenhanx...@cn.fujitsu.com
From: Chen Fan chen.fan.f...@cn.fujitsu.com
squeeze out vfio_pci_do_hot_reset to do host bus reset when AER recovery.
Signed-off-by: Chen Fan chen.fan.f...@cn.fujitsu.com
Signed-off-by: Chen Hanxiao chenhanx...@cn.fujitsu.com
---
hw/vfio/pci.c | 75
From: Chen Fan chen.fan.f...@cn.fujitsu.com
this function search the capability from the end, the last
size should 0x100 - pos, not 0xff - pos.
Signed-off-by: Chen Fan chen.fan.f...@cn.fujitsu.com
Signed-off-by: Chen Hanxiao chenhanx...@cn.fujitsu.com
---
hw/vfio/pci.c | 3 ++-
1 file changed
From: Chen Fan chen.fan.f...@cn.fujitsu.com
when do virtual secondary bus reset, the vfio device under
this bus need to do host bus reset to reset the device.
so add this case.
Signed-off-by: Chen Fan chen.fan.f...@cn.fujitsu.com
Signed-off-by: Chen Hanxiao chenhanx...@cn.fujitsu.com
---
hw
the guest driver
recover from the error.
Signed-off-by: Chen Fan chen.fan.f...@cn.fujitsu.com
Signed-off-by: Chen Hanxiao chenhanx...@cn.fujitsu.com
---
hw/vfio/pci.c | 45 +++--
1 file changed, 39 insertions(+), 6 deletions(-)
diff --git a/hw/vfio/pci.c b/hw
, we should test
all of the non-AER supporting vfio-pci devices on or below the target
bus to verify they have a reset mechanism.
Signed-off-by: Chen Fan chen.fan.f...@cn.fujitsu.com
Signed-off-by: Chen Hanxiao chenhanx...@cn.fujitsu.com
---
hw/vfio/pci.c | 162
From: Chen Fan chen.fan.f...@cn.fujitsu.com
Signed-off-by: Chen Fan chen.fan.f...@cn.fujitsu.com
Signed-off-by: Chen Hanxiao chenhanx...@cn.fujitsu.com
---
hw/vfio/pci.c | 83 +++
1 file changed, 83 insertions(+)
diff --git a/hw/vfio/pci.c
argument.
Signed-off-by: Chen Fan chen.fan.f...@cn.fujitsu.com
Signed-off-by: Chen Hanxiao chenhanx...@cn.fujitsu.com
---
hw/pci-bridge/ioh3420.c| 2 +-
hw/pci-bridge/xio3130_downstream.c | 2 +-
hw/pci-bridge/xio3130_upstream.c | 2 +-
hw/pci/pcie_aer.c | 4
Signed-off-by: Chen Hanxiao chenhanx...@cn.fujitsu.com
---
hw/pci/pci.c | 6 ++
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/hw/pci/pci.c b/hw/pci/pci.c
index 442f822..a017614 100644
--- a/hw/pci/pci.c
+++ b/hw/pci/pci.c
@@ -2101,12 +2101,10 @@ static void pci_del_option_rom
Signed-off-by: Chen Hanxiao chenhanx...@cn.fujitsu.com
---
hw/pci/pci.c | 6 ++
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/hw/pci/pci.c b/hw/pci/pci.c
index 442f822..dfd2abc 100644
--- a/hw/pci/pci.c
+++ b/hw/pci/pci.c
@@ -2101,12 +2101,10 @@ static void pci_del_option_rom
s/interation/iteration
Signed-off-by: Chen Hanxiao chenhanx...@cn.fujitsu.com
---
docs/writing-qmp-commands.txt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/docs/writing-qmp-commands.txt b/docs/writing-qmp-commands.txt
index f3df206..ab1fdd3 100644
--- a/docs/writing-qmp
-Original Message-
From: Paolo Bonzini [mailto:paolo.bonz...@gmail.com] On Behalf Of Paolo
Bonzini
Sent: Wednesday, October 10, 2012 2:34 PM
To: Chen HanXiao
Cc: 'Christoph Hellwig'; qemu-devel@nongnu.org
Subject: Re: [PATCH] Use SCSI command to get size of SG device
Il 10/10
When we use SCSI generic device as disk image, function lseek
could not get the size of this kind of device.
So try to use SCSI command Read Capacity(10) when lseek failed to get
the size of SCSI generic device.
Signed-off-by: Chen Hanxiao chenhanx...@cn.fujitsu.com
---
block/raw-posix.c | 46
Hi
-Original Message-
From: Christoph Hellwig [mailto:h...@lst.de]
Sent: Wednesday, October 10, 2012 1:21 AM
To: Chen HanXiao
Cc: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [PATCH] Use SCSI command to get size of SG
device
On Tue, Oct 09, 2012 at 05:42:01PM +0800, Chen
83 matches
Mail list logo