Re: [Qemu-devel] check trim/unmap

2014-01-30 Thread ching
s no trim feature listed. is there any thing i am missing? ching On 28/01/2014 08:17 PM, ching wrote: Thanks for the information. Hopefully, there will be better debug/tracing facility for this. This is useful for sysadmin to ensure the whole storage stack is functioning as expected. ching On

Re: [Qemu-devel] check trim/unmap

2014-01-28 Thread ching
Thanks for the information. Hopefully, there will be better debug/tracing facility for this. This is useful for sysadmin to ensure the whole storage stack is functioning as expected. ching On 28/01/2014 06:46 PM, Paolo Bonzini wrote: Il 28/01/2014 11:31, ching ha scritto: My config is

[Qemu-devel] check trim/unmap

2014-01-28 Thread ching
advance. ching

Re: [Qemu-devel] [edk2] OVMF hung on qemu 1.6.0 with KVM

2013-09-01 Thread Gary Ching-Pang Lin
On Sat, Aug 31, 2013 at 12:16:21AM -0700, Jordan Justen wrote: > On Thu, Aug 29, 2013 at 8:28 PM, Gary Ching-Pang Lin wrote: > > On Fri, Aug 30, 2013 at 02:04:40AM +1000, Bruce Rogers wrote: > >> I tried this out, and I get the black screen as well when ept=n, but it > >&

Re: [Qemu-devel] [edk2] OVMF hung on qemu 1.6.0 with KVM

2013-08-29 Thread Gary Ching-Pang Lin
On Fri, Aug 30, 2013 at 02:04:40AM +1000, Bruce Rogers wrote: > >>> On 8/29/2013 at 02:23 AM, Gary Ching-Pang Lin wrote: > > On Wed, Aug 28, 2013 at 02:55:26PM +0200, Andreas Färber wrote: > >> Am 28.08.2013 14:10, schrieb Laszlo Ersek: > >> > On 08/28/13

Re: [Qemu-devel] [edk2] OVMF hung on qemu 1.6.0 with KVM

2013-08-29 Thread Gary Ching-Pang Lin
On Wed, Aug 28, 2013 at 02:55:26PM +0200, Andreas Färber wrote: > Am 28.08.2013 14:10, schrieb Laszlo Ersek: > > On 08/28/13 13:49, Andreas Färber wrote: > >> Am 28.08.2013 13:45, schrieb Laszlo Ersek: > >>> (qemu-devel CC'd) > >>> > >>&

Re: [Qemu-devel] compile tcm_vhost kernel module as built-in

2012-12-13 Thread ching lu
On Tue, Dec 11, 2012 at 9:18 PM, ching wrote: > Hi, > > is there any virtio-scsi developer here? > > I take a look at the tcm_vhost module of kernel 3.7 and want to compile it as > built-in. > > However, CONFIG_TCM_VHOST only allows user to build as module. > >

[Qemu-devel] compile tcm_vhost kernel module as built-in

2012-12-11 Thread ching
Hi, is there any virtio-scsi developer here? I take a look at the tcm_vhost module of kernel 3.7 and want to compile it as built-in. However, CONFIG_TCM_VHOST only allows user to build as module. I wonder why this restriction exists? thx a lot. ching

Re: [Qemu-devel] VFIO VGA passthrough

2012-11-21 Thread ching
lex > > > > i am new in pci passthrough has a few more question: 1. is your vga card a PCI Express card? 2. there is a pci bridge in the same iommu group, do i need to pass to the guest? 00:01.0 PCI bridge: Intel Corporation Xeon E3-1200/2nd Generation Core Processor Family PCI Express Root Port (rev 09) 3. do i need to dump the vga bios and pass it to guest? Thanks in advance ching

[Qemu-devel] VFIO VGA passthrough

2012-11-20 Thread ching
My PC is gentoo x64, kernel 3.6.6, intel sandy bridge i7 2600 + asrock Z77 exterme 4 MB I download qemu from git and try to pass through secondary VGA card to Windows 7 x64 SP1 VM: 01:00.0 VGA compatible controller: Advanced Micro Devices [AMD] nee ATI Cayman PRO [Radeon HD 6950] (prog-if 00

[Qemu-devel] mask specific partition from guest

2012-11-07 Thread ching
64224 ZERO RW 1124425728 FLAT "/dev/sdc" 125833216 ... How can this be done in qemu/kvm? ching

Re: [Qemu-devel] linux aio and cache mode

2012-09-27 Thread ching
On 09/26/2012 03:51 PM, Kevin Wolf wrote: > Am 26.09.2012 01:22, schrieb ching: >> On 09/25/2012 09:33 PM, Kevin Wolf wrote: >>> Am 25.09.2012 00:40, schrieb ching: >>>> On 09/24/2012 08:30 PM, Kevin Wolf wrote: >>>>> Am 24.09.2012 13:32, schrieb ching:

Re: [Qemu-devel] linux aio and cache mode

2012-09-25 Thread ching
On 09/25/2012 09:33 PM, Kevin Wolf wrote: > Am 25.09.2012 00:40, schrieb ching: >> On 09/24/2012 08:30 PM, Kevin Wolf wrote: >>> Am 24.09.2012 13:32, schrieb ching: >>>> Hi all, >>>> >>>> My host is qemu-1.1.1 and x64 kernel 3.5.4. The gu

Re: [Qemu-devel] linux aio and cache mode

2012-09-24 Thread ching
On 09/24/2012 08:30 PM, Kevin Wolf wrote: > Am 24.09.2012 13:32, schrieb ching: >> Hi all, >> >> My host is qemu-1.1.1 and x64 kernel 3.5.4. The guest is using aio="native" >> >> I am trying to use unsafe cache mode to boost i/o performance. > a

[Qemu-devel] linux aio and cache mode

2012-09-24 Thread ching
/questions/5664105/buffered-asynchronous-file-i-o-on-linux) is it still valid for recent kernel? do i need to change to aio="threads" to take advantage of unsafe cache mode? Thanks in advance. Regards, ching

Re: [Qemu-devel] boot device order has no effect for virtio-scsi devices

2012-09-05 Thread ching
On 09/05/2012 02:55 PM, Paolo Bonzini wrote: > Il 05/09/2012 00:13, ching ha scritto: >>>>>>>> Ah, ok. libvirt for now supports only booting from LUN 0. You can use > ^^^ > > Oops, should have been SeaBIOS. > >>>

Re: [Qemu-devel] boot device order has no effect for virtio-scsi devices

2012-09-04 Thread ching
On 09/04/2012 07:55 PM, Eric Blake wrote: > On 09/04/2012 04:53 AM, ching wrote: >> On 09/04/2012 02:23 PM, Paolo Bonzini wrote: >>> Il 04/09/2012 02:03, ching ha scritto: >>>> i add boot order and the virtual machine still boot from har

Re: [Qemu-devel] boot device order has no effect for virtio-scsi devices

2012-09-04 Thread ching
On 09/04/2012 02:23 PM, Paolo Bonzini wrote: > Il 04/09/2012 02:03, ching ha scritto: >> i add boot order and the virtual machine still boot from hard disk instead >

Re: [Qemu-devel] boot device order has no effect for virtio-scsi devices

2012-09-03 Thread ching
On 09/03/2012 04:24 PM, Paolo Bonzini wrote: > Il 03/09/2012 00:23, ching ha scritto: >> have anyone tested the boot order of virtio-scsi devices? >> >> >> hvm >> >> >> >> >> >> >> i try to set the boot o

Re: [Qemu-devel] boot device order has no effect for virtio-scsi devices

2012-09-02 Thread ching
On 08/30/2012 07:31 PM, ching wrote: > My host is Gentoo x64, kernel 3.5.2, qemu-kvm 1.1.1-r1, libvirt 0.9.13, > seabios 1.7.0 > > i try to set the boot order with scsi cd-rom first, then scsi harddisk > > but the virtual machine will always boot with first scsi device only >

Re: [Qemu-devel] macvlan/macvtap: guest/host cannot communicate when network cable is unplugged

2012-08-30 Thread ching
mmunicate each other no matter network cable of the host is unplugged or not. and my problem is specified in the subject already: guest/host cannot communicate when network cable is unplugged if my configuration seems correct, i may file a kernel bugzilla and seek for their advice. ching

Re: [Qemu-devel] macvlan/macvtap: guest/host cannot communicate when network cable is unplugged

2012-08-30 Thread ching
> Can you try the same test with two macvlan interfaces on the host (no > macvtap)? You may need to use the ping -I > argument to force the ping source address to a specific macvlan > interface. > > If you see the same problem, it may just be the macvlan design - it is > stacked on top of eth0 a

[Qemu-devel] boot device order has no effect for virtio-scsi devices

2012-08-30 Thread ching
My host is Gentoo x64, kernel 3.5.2, qemu-kvm 1.1.1-r1, libvirt 0.9.13, seabios 1.7.0 i try to set the boot order with scsi cd-rom first, then scsi harddisk but the virtual machine will always boot with first scsi device only (unit='0', the scsi harddisk) is it a known problem? my libvirt con

[Qemu-devel] macvlan/macvtap: guest/host cannot communicate when network cable is unplugged

2012-08-28 Thread ching
192.168.1.184 PING 192.168.1.184 (192.168.1.184) 56(84) bytes of data. >From 192.168.1.2: icmp_seq=10 Destination Host Unreachable >From 192.168.1.2: icmp_seq=11 Destination Host Unreachable Do anyone have similar problem? Am i missing something? Regards, ching