[Qemu-devel] [PATCH] make pci_bridge_region_cleanup to be done in rcu queue after flatview_destroy.

2018-07-09 Thread QiaoChong
7c700) at pthread_create.c:333 4 0x7fffdfdff41d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109 void memory_region_unref(MemoryRegion *mr) { if (mr && mr->owner) { object_unref(mr->owner); } } Signed-off-by: QiaoChong --- hw/pci/pci_bridge.c | 14 +++

[Qemu-devel] [PATCH] make pci_bridge_region_cleanup to be done in rcu queue after flatview_destroy.

2018-07-09 Thread QiaoChong
ect_unparent before. void memory_region_unref(MemoryRegion *mr) { if (mr && mr->owner) { object_unref(mr->owner); } } Signed-off-by: QiaoChong --- hw/pci/pci_bridge.c | 12 +++- include/hw/pci/pci_bridge.h | 1 + 2 files changed, 12 insertions(+), 1

[Qemu-devel] [PATCH] set usb bus name by busno.

2013-03-28 Thread qiaochong
So when we add several usb buses on system, we can add usb device on special usb bus by special usb bus name usb-bus.busno. Signed-off-by: qiaochong --- hw/usb/bus.c | 4 +++- 1 个文件被修改,插入 3 行(+),删除 1 行(-) diff --git a/hw/usb/bus.c b/hw/usb/bus.c index e58cd9a..c31a17c 100644 --- a/hw/usb

[Qemu-devel] [PATCH] add cacheflush in tcg_gen_code_search_pc.

2010-10-04 Thread qiaochong
Without cacheflush,qemu sometimes fail with segment fault on loongson cpu,which often happens when linux begin to run init.Because user porgram tlb refill,tlbl,tlbs,tlbm exception will often happen, cpu_restore_state,tcg_gen_code-pc will be called frequently. Signed-off-by: qiaochong

[Qemu-devel] [PATCH 5/6] ahci pci ids into pci_ids.h, add warning messages.

2010-05-10 Thread QiaoChong
move ahci pci device id define into pci_ids.h,add warning messages for unsupported features. Signed-off-by: QiaoChong --- hw/ahci.c| 10 +- hw/pci_ids.h |1 + 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/hw/ahci.c b/hw/ahci.c index cb4a851..e1aed4a 100644

[Qemu-devel] [PATCH 1/6] add ahci support into qemu, only support sata disk.

2010-05-10 Thread QiaoChong
use -drive if=sd,file=diskname to add a ahci disk into qemu. Signed-off-by: QiaoChong --- Makefile.target |4 + hw/ahci.c | 805 +++ 2 files changed, 809 insertions(+), 0 deletions(-) create mode 100644 hw/ahci.c diff --git a

[Qemu-devel] [PATCH 6/6] add cdrom support for ahci.

2010-05-10 Thread QiaoChong
Signed-off-by: QiaoChong --- hw/ahci.c | 427 - 1 files changed, 424 insertions(+), 3 deletions(-) diff --git a/hw/ahci.c b/hw/ahci.c index e1aed4a..2763075 100644 --- a/hw/ahci.c +++ b/hw/ahci.c @@ -16,7 +16,9 @@ * License along with

[Qemu-devel] [PATCH 0/6] [AHCI]resend all patches to add ahci support into qemu

2010-05-10 Thread QiaoChong
NOPPIX_V6.0.1CD-2009-02-08-EN.iso -drive if=scsi,file=/tmp/disk test a sata cd like this: ./i386-softmmu/qemu -cdrom KNOPPIX_V6.0.1CD-2009-02-08-EN.iso -drive if=scsi,media=cdrom,file=KNOPPIX_V6.0.1CD-2009-02-08-EN.iso QiaoChong (5): add ahci support into qemu,only support sata disk. add a

[Qemu-devel] [PATCH 3/6] fix port count, cap and version etc to ahci.

2010-05-10 Thread QiaoChong
From: Sebastian Herbszt - debug output with DEBUG_AHCI - set port count to 4 - change return value of PxSSTS to include SPD and IPM - change cap and version default values according to Intel #301473-002 Signed-off-by: QiaoChong --- hw/ahci.c | 68

[Qemu-devel] [PATCH 2/6] add ahci device into i386 pc just for test.

2010-05-10 Thread QiaoChong
test like this: dd if=/dev/zero of=/tmp/disk bs=1M count=100 ./i386-softmmu/qemu -cdrom /mnt/hdb1/knoppix-dvd/KNOPPIX_V6.0.1CD-2009-02-08-EN.iso -boot d -drive if=sd,file=/tmp/disk Signed-off-by: QiaoChong --- default-configs/i386-softmmu.mak |2 ++ hw/pc.c

[Qemu-devel] [PATCH 4/6] add WIN_STANDBYNOW1 process into ahci.

2010-05-10 Thread QiaoChong
Signed-off-by: QiaoChong --- hw/ahci.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/hw/ahci.c b/hw/ahci.c index b6a81af..cb4a851 100644 --- a/hw/ahci.c +++ b/hw/ahci.c @@ -676,6 +676,7 @@ static void handle_cmd(AHCIState *s,int port,int slot

[Qemu-devel] [PATCH 1/1] add cdrom support for ahci.

2010-05-10 Thread QiaoChong
Signed-off-by: QiaoChong --- hw/ahci.c | 425 - 1 files changed, 422 insertions(+), 3 deletions(-) diff --git a/hw/ahci.c b/hw/ahci.c index e1aed4a..fa32c68 100644 --- a/hw/ahci.c +++ b/hw/ahci.c @@ -16,7 +16,7 @@ * License along with

[Qemu-devel] [PATCH 0/1] [RFC][AHCI] add cdrom support for ahci.

2010-05-10 Thread QiaoChong
NOPPIX_V6.0.1CD-2009-02-08-EN.iso -drive if=scsi,file=/tmp/disk test a sata cd like this: ./i386-softmmu/qemu -cdrom KNOPPIX_V6.0.1CD-2009-02-08-EN.iso -drive if=scsi,media=cdrom,file=KNOPPIX_V6.0.1CD-2009-02-08-EN.iso QiaoChong (1): add cdrom support for ahci. h

[Qemu-devel] [PATCH 0/1] [RFC][ahci] add cdrom support for ahci.

2010-05-10 Thread QiaoChong
NOPPIX_V6.0.1CD-2009-02-08-EN.iso -drive if=scsi,file=/tmp/disk test a sata cd like this: ./i386-softmmu/qemu -cdrom KNOPPIX_V6.0.1CD-2009-02-08-EN.iso -drive if=scsi,media=cdrom,file=KNOPPIX_V6.0.1CD-2009-02-08-EN.iso QiaoChong (1): add cdrom support for ahci. h

[Qemu-devel] [PATCH 1/1] add cdrom support for ahci.

2010-05-10 Thread QiaoChong
Signed-off-by: QiaoChong --- hw/ahci.c | 425 - 1 files changed, 422 insertions(+), 3 deletions(-) diff --git a/hw/ahci.c b/hw/ahci.c index e1aed4a..fa32c68 100644 --- a/hw/ahci.c +++ b/hw/ahci.c @@ -16,7 +16,7 @@ * License along with