Re: [Qemu-devel] IRQ number, interrupt number, interrupt line GPIO[in/out]

2012-03-11 Thread Shu Ming
IRQ number is actually a word coming from ancient time. When 8259 was popular at that time, we only have 0 ~ 15 interrupts when two 8259 are cascaded. The IRQ number mattered in that time, because 8259 put their vector number in the bus for CPU after the interrupt was delivered. The number

Re: [Qemu-devel] Fail to share Samba directory with guest

2012-02-27 Thread Shu Ming
On 2012-2-27 17:21, Jun Koi wrote: hi, on qemu 1.0.1, i am trying to share a host directory with the Windows guest like below: qemu-system-i386 -enable-kvm -m 1000 -net nic,model=rtl8139 -net user,smb=/tmp img.winxp but in the guest, \\10.0.2.4 doesnt show me any shared directory. i already

Re: [Qemu-devel] [vdsm] oVirt Live Snapshots

2012-02-02 Thread Shu Ming
Can someone explain what is DB in this wiki page? See, Live snapshots operation extend regular snapshots as follow: * Create a locked snapshot in DB On 2012-1-30 19:00, Federico Simoncelli wrote: Hi, oVirt, and more specifically VDSM, is currently implementing the live snapshot

Re: [Qemu-devel] The reversion of hot adding a storage disk to Linux guest.

2012-01-15 Thread Shu Ming
No other comments? Anyway, I think we need a way to hot unplug a storage disk from the guest totally exactly liking to remove a disk physically. After that unplugging, linux guest can not bring back the disk by any command. On 2012-1-12 16:57, Shu Ming wrote: Hi, I am testing the hot

[Qemu-devel] The reversion of hot adding a storage disk to Linux guest.

2012-01-12 Thread Shu Ming
Hi, I am testing the hot plug of scsi disk to the KVM Linux guest with the following command. [root@kvm-rhel-01 bin]# ./virsh qemu-monitor-command RHEL6.1-C pci_add auto storage file=/nfs/images/storage1-qcow2.img,if=scsi OK domian 0, bus 0, slot 7, function 0 [root@kvm-rhel-01 bin]#

Re: [Qemu-devel] Stalls on Live Migration of VMs with a lot of memory

2012-01-03 Thread Shu Ming
On 2012-1-4 2:04, Peter Lieven wrote: Hi all, is there any known issue when migrating VMs with a lot of (e.g. 32GB) of memory. It seems that there is some portion in the migration code which takes too much time when the number of memory pages is large. Symptoms are: Irresponsive VNC

Re: [Qemu-devel] [help] QEMUFile's format

2011-12-22 Thread Shu Ming
Do you mean the file format? qcow2, qed, raw? Or the content layout in the file image? On 2011-12-23 13:17, ¤終於aware wrote: Hi, Is anyone clear about the format of qemu file for savevm or loadvm? bruce -- Shu Mingshum...@linux.vnet.ibm.com IBM China Systems and Technology Laboratory

Re: [Qemu-devel] [RFC] Consistent Snapshots Idea

2011-11-21 Thread shu ming
On 2011-11-21 20:31, Avi Kivity wrote: On 11/21/2011 02:01 PM, Richard Laager wrote: I'm not an expert on the architecture of KVM, so perhaps this is a QEMU question. If so, please let me know and I'll ask on a different list. It is a qemu question, yes (though fork()ing a guest also relates

Re: [Qemu-devel] Catching system calls and PIDs in Qemu

2011-11-02 Thread shu ming
I don't know how to convert the guest virtual address to a guest physical address. But I believe that the guest virtual address to guest physical address mapping table should belong to the guest OS and stay at guest context. So you should know where is the mapping table in the guest OS by

Re: [Qemu-devel] http://git.qemu.org/git/qemu.git/ is inaccessible

2011-11-01 Thread shu ming
You may try: http://repo.or.cz/w/qemu.git On 2011-11-2 9:01, Roy Tam wrote: Hi all, http://git.qemu.org/git/qemu.git/ is listed in http://git.qemu.org/ but it is inaccessible (HTTP 403). Where is mirror of it? As I can't access git:// protocol here and I need accessing http:// repo instead.

[Qemu-devel] Abnormal function exit message in Qemu block drivers code

2011-10-27 Thread shu ming
Hi, After reading the block driver code in, it was found that the error exit code behaved in different ways. Here are some examples. It seems that way 3 is a better way to log the error message. In fact, It is pretty important for a administrator to know what is going on and be

Re: [Qemu-devel] [PATCH v3] add add-cow file format

2011-10-26 Thread shu ming
Looks good to me. A nit, it seems that bdrv_flush is not supported anymore in upstream. bdrv_co_flush should be used instead if you update your workspace to latest one. On 2011-10-26 18:08, Robert Wang wrote: Please find version 4 in the attachment. 2011/10/23 shu

Re: [Qemu-devel] [PATCH v3] add add-cow file format

2011-10-23 Thread shu ming
On 2011-10-13 0:23, Dong Xu Wang wrote: Add add-cow file format Signed-off-by: Dong Xu Wangwdon...@linux.vnet.ibm.com --- Makefile.objs |1 + block.c|2 +- block.h|1 + block/add-cow.c| 412

Re: [Qemu-devel] passing secrets to block devices

2011-10-20 Thread shu ming
On 2011-10-21 5:48, Josh Durgin wrote: On 10/20/2011 12:24 PM, Daniel P. Berrange wrote: On Thu, Oct 20, 2011 at 11:30:42AM -0700, Josh Durgin wrote: We're working on libvirt support for block device authentication [1]. To authenticate, rbd needs a username and a secret. Normally, to avoid

[Qemu-devel] [Bug 861141] Re: Installing libvirt-bin qemu slows host network

2011-09-28 Thread shu ming
Do you mean the send-receive result is different than receive-send? What about the result of bi-direction test? It looks like that the total bytes transferred are also different. -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU.

Re: [Qemu-devel] [libvirt] The design choice for how to enable block I/O throttling function in libvirt

2011-08-30 Thread shu ming
See commens below. Zhi Yong Wu: HI, folks, I am trying to enable block I/O throttling function in libvirt. But currently i met some design questions, and don't make sure if we should extend blkiotune to support block I/O throttling or introduce one new libvirt command blkiothrottle to cover it

Re: [Qemu-devel] [libvirt] The design choice for how to enable block I/O throttling function in libvirt

2011-08-30 Thread shu ming
Zhi Yong Wu: On Tue, Aug 30, 2011 at 3:18 PM, shu mingshum...@linux.vnet.ibm.com wrote: See commens below. Zhi Yong Wu: HI, folks, I am trying to enable block I/O throttling function in libvirt. But currently i met some design questions, and don't make sure if we should extend blkiotune to