Re: [Qemu-devel] [Qemu-discuss] About the host page cache inside the qemu

2013-10-23 Thread Dunrong Huang
elow for further discussion. A semantically similar (but deprecated) interface for block devices is described in raw(8). > Thanks a lot! > > Yaodong > -- Best Regards, Dunrong Huang Homepage: http://mathslinux.org

[Qemu-devel] [PATCH] block: use correct filename

2013-10-02 Thread Dunrong Huang
The content filename point to may be erased by qemu_opts_absorb_qdict() in raw_open_common() in drv->bdrv_file_open() So it's better to use bs->filename. Signed-off-by: Dunrong Huang --- block.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/block.c b/bl

Re: [Qemu-devel] [PATCH] block: use correct filename for error report

2013-10-02 Thread Dunrong Huang
On Wed, Oct 2, 2013 at 5:48 PM, Stefan Hajnoczi wrote: > On Tue, Sep 24, 2013 at 06:14:01PM +0800, Dunrong Huang wrote: > > The content filename point to will be erased by qemu_opts_absorb_qdict() > > in raw_open_common() in drv->bdrv_file_open() > > > > So i

Re: [Qemu-devel] [PATCH] block: use correct filename for error report

2013-09-30 Thread Dunrong Huang
ping? On Tue, Sep 24, 2013 at 8:12 PM, Max Reitz wrote: > On 2013-09-24 12:14, Dunrong Huang wrote: > >> The content filename point to will be erased by qemu_opts_absorb_qdict() >> in raw_open_common() in drv->bdrv_file_open() >> >> So it's better to

[Qemu-devel] [PATCH] block: use correct filename for error report

2013-09-24 Thread Dunrong Huang
The content filename point to will be erased by qemu_opts_absorb_qdict() in raw_open_common() in drv->bdrv_file_open() So it's better to use bs->filename. Signed-off-by: Dunrong Huang --- block.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/block.c b/bl

Re: [Qemu-devel] [Bug 1212402] [NEW] Enabling KVM with recent QEMU builds from GIT hang at boot on Ubuntu Precise AMD64 kernel 3.8.0

2013-08-25 Thread Dunrong Huang
69816047-16384-4-git-send-email-jordan.l.jus...@intel.com > Signed-off-by: Anthony Liguori > > :100644 100644 327ae12f08b9dddc796d753d8adfb1f70c78b2c1 > 8e7bbf8698f6bcaa5ae945ef86e7b51effde06fe M kvm-all.c > > To manage notifications about this bug go to: > https://bugs.launchpad.net/qemu/+bug/1212402/+subscriptions > > -- Best Regards, Dunrong Huang Homepage: http://mathslinux.org

Re: [Qemu-devel] VM can not boot after commit 235e898

2013-06-05 Thread Dunrong Huang
On Wed, Jun 5, 2013 at 10:44 AM, Dunrong Huang wrote: > > > On Wed, Jun 5, 2013 at 1:03 AM, Jordan Justen wrote: > >> On Tue, Jun 4, 2013 at 1:26 AM, Dunrong Huang >> wrote: >> > On Tue, Jun 4, 2013 at 3:51 PM, Gleb Natapov wrote: >> >> On Tue, Ju

Re: [Qemu-devel] VM can not boot after commit 235e898

2013-06-04 Thread Dunrong Huang
On Wed, Jun 5, 2013 at 1:03 AM, Jordan Justen wrote: > On Tue, Jun 4, 2013 at 1:26 AM, Dunrong Huang > wrote: > > On Tue, Jun 4, 2013 at 3:51 PM, Gleb Natapov wrote: > >> On Tue, Jun 04, 2013 at 03:47:47PM +0800, Dunrong Huang wrote: > >> > On Tue, Jun

Re: [Qemu-devel] VM can not boot after commit 235e898

2013-06-04 Thread Dunrong Huang
On Tue, Jun 4, 2013 at 3:51 PM, Gleb Natapov wrote: > On Tue, Jun 04, 2013 at 03:47:47PM +0800, Dunrong Huang wrote: > > On Tue, Jun 4, 2013 at 2:47 PM, Paolo Bonzini > wrote: > > > > > Il 04/06/2013 05:47, Dunrong Huang ha scritto: > > > > > > &g

Re: [Qemu-devel] VM can not boot after commit 235e898

2013-06-04 Thread Dunrong Huang
On Tue, Jun 4, 2013 at 2:47 PM, Paolo Bonzini wrote: > Il 04/06/2013 05:47, Dunrong Huang ha scritto: > > > > QEMU command: > > ~/usr/bin/qemu-system-x86_64 -enable-kvm -m 1024 debian-append.img > > > > git bisect tells that the following commi

Re: [Qemu-devel] VM can not boot after commit 235e898

2013-06-04 Thread Dunrong Huang
On Tue, Jun 4, 2013 at 2:41 PM, Jordan Justen wrote: > Fixed in 651eb0f4? > No, it still fails. > > On Mon, Jun 3, 2013 at 8:47 PM, Dunrong Huang > wrote: > > > > QEMU command: > > ~/usr/bin/qemu-system-x86_64 -enable-kvm -m 1024 debian-append.img > >

[Qemu-devel] VM can not boot after commit 235e898

2013-06-03 Thread Dunrong Huang
information I should provide? -- Best Regards, Dunrong Huang Homepage: http://mathslinux.org

[Qemu-devel] [PATCH for-1.5 v2] rules.mk: Fix build breakage

2013-04-29 Thread Dunrong Huang
Blue Swirl Cc: Paolo Bonzini Signed-off-by: Dunrong Huang --- v1 -> v2: * Fix it by adding "-I$(

Re: [Qemu-devel] [PATCH] Makefile: Fix build breakage

2013-04-29 Thread Dunrong Huang
On Mon, Apr 29, 2013 at 4:19 PM, Paolo Bonzini wrote: > Il 28/04/2013 20:04, Dunrong Huang ha scritto: > > The following error occurs when building dtc module: > > > > CHK version_gen.h > >CC libfdt/fdt.o > > cc1: error: dtc: No such file or

[Qemu-devel] [PATCH] Makefile: Fix build breakage

2013-04-28 Thread Dunrong Huang
Blue Swirl Signed-off-by: Dunrong Huang --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 8aca92f..64b0b1b 100644 --- a/Makefile +++ b/Makefile @@ -148,7 +148,7 @@ $(SRC_PATH)/pixman/configure: DTC_MAKE_ARGS=-I$(SRC_PATH)/dtc VPATH=$(SRC

[Qemu-devel] [PATCH] target-moxie: set do_interrupt to a target-specific helper function

2013-03-30 Thread Dunrong Huang
The value of "do_interrupt" member of CPUClass shoule be set to a target-specific function, or it will lead to a segfault like below: $ moxie-softmmu/qemu-system-moxie -M moxiesim Segmentation fault Cc: Anthony Green Cc: Blue Swirl Cc: Andreas Färber Signed-off-by: Dunrong Huang -

Re: [Qemu-devel] Is is a bug? (window scale)

2013-03-19 Thread Dunrong Huang
#x27;m not able to answer it myself. >> >> > If i resize the qemu windows by dragging the corner, the screen won' >> > t be scale (red arrow). >> > But if i resize the window by the border, screen can scale (green >> > arrow). Is it a bug? >> >> -- >> Eric Blake eblake redhat com +1-919-301-3266 >> Libvirt virtualization library http://libvirt.org >> -- Best Regards, Dunrong Huang

[Qemu-devel] [PATCH] virtio-blk: Do not segfault fault if failed to initialize dataplane

2013-03-19 Thread Dunrong Huang
eanup() to clean this VirtIODevice rather than virtio_cleanup(), which attempts to free the vdev. This error was introduced by commit 05ff686536f408ba6e8426b1b54d25bd3379fda2 recently. Signed-off-by: Dunrong Huang --- hw/virtio-blk.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff

Re: [Qemu-devel] dataplane bug: fail to start VM with dataplane enable

2013-03-13 Thread Dunrong Huang
On Wed, Mar 13, 2013 at 7:28 PM, Stefan Hajnoczi wrote: > On Wed, Mar 13, 2013 at 06:01:40PM +0800, Dunrong Huang wrote: >> Hi, Paolo && Stefan: >> >> When I test the dataplane feature with git master, I find that VM will >> hang if dataplane is enabled. Bu

[Qemu-devel] dataplane bug: fail to start VM with dataplane enable

2013-03-13 Thread Dunrong Huang
f course, in this case you should not close the notifier's underlying file descriptors or handle with event_notifier_cleanup. Signed-off-by: Paolo Bonzini Signed-off-by: Stefan Hajnoczi I can provide more information if need. -- Best Regards, Dunrong Huang

Re: [Qemu-devel] No root device Found while booting a CENTOS Image

2012-12-28 Thread Dunrong Huang
da" to specify which device to mount. >Please provide some insight. Thanks > > Saptarshi -- Best Regards, Dunrong Huang

Re: [Qemu-devel] Graphics performance

2012-12-26 Thread Dunrong Huang
for my remote > clients - can I still use VNC? Any monitor is capable QXL format, actually spice display is not relevant to hardware monitor. > A change in the guest would be okay, but I still must be able to use the > existing client environment... > If you want to use VNC for display, pass "-vnc :1" to qemu command line. This way, VNC server is running in QEMU, not guest, you donot need to change anything in guest. -- Best Regards, Dunrong Huang

Re: [Qemu-devel] Graphics performance

2012-12-26 Thread Dunrong Huang
ravirtual graphics card. It means you must install qxl driver in your guest to make this card work. More details, please refer: http://www.linux-kvm.org/page/SPICE > Thanks. > > Best regards, > > Erik > -- Best Regards, Dunrong Huang

Re: [Qemu-devel] [Spice-devel] QEMU hangs when shutdown windows7 guest with virtio-serial drivers installed

2012-11-16 Thread Dunrong Huang
2012/11/16 Marian Krcmarik : > > > - Original Message - >> From: "Christophe Fergeau" >> To: "Dunrong Huang" >> Cc: "Amit Shah" , "spice-devel" >> , "qemu-devel" >> >> Sent: Friday, November

Re: [Qemu-devel] [Spice-devel] QEMU hangs when shutdown windows7 guest with virtio-serial drivers installed

2012-11-16 Thread Dunrong Huang
Thanks for your quick reply. 2012/11/16 Christophe Fergeau : > On Fri, Nov 16, 2012 at 06:02:33PM +0800, Dunrong Huang wrote: >> I meet a weird problem: >> If I I boot QEMU with virtio-serial being enabled and assign only one >> cpu to windows VM, when I shutdown VM, QEMU

[Qemu-devel] QEMU hangs when shutdown windows7 guest with virtio-serial drivers installed

2012-11-16 Thread Dunrong Huang
=charconsole0,id=console0", guest will not hang too. I don't know what make QEMU hang, windows virtio-serial driver, QEMU virtio-serial or usb redirection? Any help is appreciated. -- Best Regards, Dunrong Huang

Re: [Qemu-devel] peter-bochs with QEMU

2012-11-11 Thread Dunrong Huang
hes to qemu-devel mailing list, with cc'ing to maintainers mentioned above. You should take a look at this guide: http://wiki.qemu.org/Contribute/SubmitAPatch > > > Thanks > from Peter (mcheun...@hotmail.com) -- Best Regards, Dunrong Huang

Re: [Qemu-devel] QEMU 1.2.0 -hda option not working

2012-11-09 Thread Dunrong Huang
; > ID > >>> > 0x00 Chip ID 0x00 > >>> > Intel/Sharp Extended Query Table at 0x0031 > >>> > Using buffer write method > >>> > smc91x.c: v1.1, sep 22 2004 by Nicolas Pitre > >>> > eth0: SMC91C11xFD (rev

Re: [Qemu-devel] QEMU 1.2.0 -hda option not working

2012-11-08 Thread Dunrong Huang
d: qemu-system-arm ... your-qemu-option ... -append "root=/dev/sda mem=256" > > /dev/sda > /dev/sda1 > /dev/hda > /dev/hda1 > > Can anyone please help? > > > -- Best Regards, Dunrong Huang

[Qemu-devel] [PATCH] ui/spice-display: Avoid segment fault when spice is enabled without qxl

2012-11-08 Thread Dunrong Huang
rface() was called, sdpy.worker was not be initialized yet, in this case, segment fault occurred while qemu_spice_display_resize() was called. Signed-off-by: Dunrong Huang --- ui/spice-display.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ui/spice-display.c b/ui/spice-displa

Re: [Qemu-devel] [PATCH] vnc-tls: Fix compilation with newer versions of GNU-TLS

2012-11-06 Thread Dunrong Huang
> it already. If someone finds a broken distribution, tell me and I > > insert some compat code. > > Acked-by: Gerd Hoffmann > > cheers, > Gerd > > -- Best Regards, Dunrong Huang

Re: [Qemu-devel] [Qemu-discuss] Qemu snapshot mode

2012-09-23 Thread Dunrong Huang
= mkstemp(filename); if (fd < 0 || close(fd)) { return -errno; } return 0; } So you can simply set a "TMPDIR=/var/whatyouwant" and run QEMU. > > ____ > xuanmao_001 > > From: Dunrong Huang > Date: 2012-09-06 18:00 > To

Re: [Qemu-devel] [PATCH] block: Don't forget to delete temporary file

2012-09-05 Thread Dunrong Huang
T|O_EXCL, and that they retry in > a loop in case they lose the race, at which point they are reinventing > the loop already done on their behalf by mkstemp()...). > > -- > Eric Blake ebl...@redhat.com +1-919-301-3266 > Libvirt virtualization library http://libvirt.org > -- Best Regards, Dunrong Huang

Re: [Qemu-devel] [PATCH] block: Don't forget to delete temporary file

2012-09-05 Thread Dunrong Huang
Hi, thanks for you reply. 2012/9/5 Paolo Bonzini : > Il 05/09/2012 15:26, riegama...@gmail.com ha scritto: >> From: Dunrong Huang >> >> The caller would not delete temporary file after failed get_tmp_filename(). >> >> Signed-off-by: Dunrong Huang >> --- >

Re: [Qemu-devel] [Qemu-trivial] [PATCH] block: output more error messages if failed to create temporary snapshot

2012-09-05 Thread Dunrong Huang
2012/9/5 Kevin Wolf : > Am 05.09.2012 11:40, schrieb Stefan Hajnoczi: >> On Wed, Sep 05, 2012 at 04:26:14PM +0800, riegama...@gmail.com wrote: >>> From: Dunrong Huang >>> >>> If we failed to create temporary snapshot, the error message did not m

Re: [Qemu-devel] [PATCH] fix entry pointer for ELF kernels loaded with -kernel option

2012-09-05 Thread Dunrong Huang
races {} are needed. > +*pentry = ehdr.e_entry - ph->p_vaddr + ph->p_paddr; > + > snprintf(label, sizeof(label), "phdr #%d: %s", i, name); > rom_add_blob_fixed(label, data, mem_size, addr); > > -- > 1.7.8.6 > > -- Best Regards, Dunrong Huang

Re: [Qemu-devel] [PATCH v2] register reset handler to write image into memory

2012-08-23 Thread Dunrong Huang
der.c > Best Regards, > Olivia Yin > -- Best Regards, Dunrong Huang

Re: [Qemu-devel] [PATCH] target-xtensa: make 'sim' to be the default machine

2012-08-09 Thread Dunrong Huang
it. I resend it just now. http://lists.nongnu.org/archive/html/qemu-devel/2012-08/msg01437.html > Probably broken in commit 93bfef4c, cc'ing its author. > > Of course, I don't mind you picking a default machine for xtensa, if > that's what you want. > -- Best Regards, Dunrong Huang

Re: [Qemu-devel] [PATCH v2] kvm: Check if smp_cpus exceeds max cpus supported by kvm

2012-07-31 Thread Dunrong Huang
n. The caller will handle this and exit (or downgrade > to TCG if the user wanted that). > Thanks for your review. I agree with you, I should use "goto err" like other checks. > -- PMM -- Best Regards, Dunrong Huang

Re: [Qemu-devel] [PATCH v2] vl.c: Fix max_cpus

2012-07-30 Thread Dunrong Huang
2012/7/31 Stefan Hajnoczi : > On Wed, Jul 25, 2012 at 12:11 PM, wrote: >> From: Dunrong Huang >> >> The VCPU count limit in kernel now is 254, defined by KVM_MAX_VCPUS >> in kernel's header files. But the count limit in QEMU is 255, >> so QEMU will faile

Re: [Qemu-devel] [PATCH] pc: Fix max_cpus

2012-07-23 Thread Dunrong Huang
2012/7/23 Andreas Färber : > Am 23.07.2012 12:47, schrieb riegama...@gmail.com: >> From: Dunrong Huang >> >> The VCPU count limit in kernel now is 254, defined by KVM_MAX_VCPUS >> in kernel's header files. But the count limit in QEMU is 255, >> so QEMU will f

Re: [Qemu-devel] [PATCH v2 2/3] linux-user: make do_setsockopt support SOL_RAW ICMP_FILTER socket option

2012-07-15 Thread Dunrong Huang
casting &val to char *. > +break; > +default: > +goto unimplemented; > +} > +break; > case TARGET_SOL_SOCKET: > switch (optname) { > /* Options with 'int' argument. */ > -- > 1.7.8.6 > > -- Best Regards, Dunrong Huang

Re: [Qemu-devel] [PATCH 3/3] linux-user: exclude SO_TIMESTAMP cmsg_type from unsuppoted ancillary data

2012-07-14 Thread Dunrong Huang
rted ancillary data: %d/%d\n", > cmsg->cmsg_level, cmsg->cmsg_type); > memcpy(target_data, data, len); > } else { > -- > 1.7.8.6 > -- Best Regards, Dunrong Huang

Re: [Qemu-devel] [PATCHv4 07/14] unicore32-softmmu: Add puv3 soc/board support

2012-07-13 Thread Dunrong Huang
re32", > +.init = puv3_init, > +.use_scsi = 0, Since there is only one machine type for unicore32 architecture, is_default field should be set to 1, so that find_default_machine() returns with non-null value. > +}; > + > +static void puv3_machine_init(void) > +{ > +qemu_register_machine(&puv3_machine); > +} > + > +machine_init(puv3_machine_init) -- Best Regards, Dunrong Huang

Re: [Qemu-devel] [PATCH] qemu-img: correct help message

2012-07-11 Thread Dunrong Huang
destination disk image filename\n" > " 'output_fmt' is the destination format\n" > " 'options' is a comma separated list of format specific options > in a\n" Those error reporting also need to be corrected: if (sval < 0 || *end) { error_report("Invalid image size specified! You may use k, M, G or " "T suffixes for "); error_report("kilobytes, megabytes, gigabytes and terabytes."); ret = -1; goto out; } -- Best Regards, Dunrong Huang

Re: [Qemu-devel] [PATCH] Fix ping issue for linux-user guest

2012-07-11 Thread Dunrong Huang
use do_sendrecvmsg in linux-user does > not pass the msg->msg_name to the target. > > We fix the above issues. > Your patch is weird, maybe this is caused by your mail client. You'd better use the tool "git send-email" to send patch. -- Best Regards, Dunrong Huang

[Qemu-devel] [PATCH v2] slirp: Ensure smbd and shared directory exist when enable smb

2012-07-05 Thread Dunrong Huang
samba server failed silently without any indication of what it did wrong. To avoid it, we check whether the shared directory exist and if users have permission to access this directory when QEMU's "built-in" SMB server is enabled. Signed-off-by: Dunrong Huang --- net/slirp.c | 12

Re: [Qemu-devel] [PATCH] slirp: Ensure smbd and shared directory exist when enable smb

2012-07-05 Thread Dunrong Huang
ix it > >> +error_report("could not find '%s', please install it", >> + CONFIG_SMBD_COMMAND); >> +return -1; >> +} >> + >> +if (access(exported_dir, F_OK)) { > > What about checking for R_OK | X_OK to avoid that we run into lacking > permissions later on? > I agree with you, I will send a v2 patch -- Best Regards, Dunrong Huang

Re: [Qemu-devel] [PATCH v3 1/2] ARM: exynos4210: CMU support

2012-07-04 Thread Dunrong Huang
cce->func(cce->opaque); >>> +} >>> + >>> +PRINT_DEBUG("%s rate: %llu\n", pll->name, pll->rate); >> >> pll->rate is of type uint64_t incompatible with "%llu" > > > Type uint64_t is included from /usr/include/std

Re: [Qemu-devel] [PATCH v3 1/2] ARM: exynos4210: CMU support

2012-07-04 Thread Dunrong Huang
2012/7/4 Maksim Kozlov : > Add exynos4210 Clock Management Units emulation > > Signed-off-by: Maksim Kozlov > --- > hw/arm/Makefile.objs |1 + > hw/exynos4210.c | 16 + > hw/exynos4210.h | 42 ++ > hw/exynos4210_cmu.c | 1464 > ++

Re: [Qemu-devel] [PATCH] fix qemu compile error with --enable-debug

2012-07-03 Thread Dunrong Huang
sse_fn_l_p = sse_op_table3b[(s->dflag == 2) * 2 + > +sse_fn_i_p = sse_op_table3b[(s->dflag == 2) * 2 + > ((b >> 8) - 2) + > (b & 1) * 4]; > - sse_fn_l_p(cpu_T[0], cpu_ptr0); > +sse_fn_i_p(cpu_T[0], cpu_ptr0); > } > gen_op_mov_reg_T0(ot, reg); > break; > -- > 1.7.5.4 > > -- Best Regards, Dunrong Huang

[Qemu-devel] [PATCH] slirp: Ensure smbd and shared directory exist when enable smb

2012-07-03 Thread Dunrong Huang
samba server failed silently without any indication of what it did wrong. To avoid it, we check whether the shared directory exists or not when QEMU's "built-in" SMB server is enabled. Signed-off-by: Dunrong Huang --- net/slirp.c | 14 ++ 1 files changed, 14 insertions(

Re: [Qemu-devel] [PATCH] target-i386: Fix compilation with --enable-debug

2012-06-30 Thread Dunrong Huang
-- > target-i386/translate.c | 59 > +++ > 1 file changed, 34 insertions(+), 25 deletions(-) > -- Best Regards, Dunrong Huang

Re: [Qemu-devel] [PATCH] target-i386: Fix compilation with --enable-debug

2012-06-29 Thread Dunrong Huang
ons with different signatures. > > Instead of crashing by calling address 0, the code now jumps to > label illegal_op. > Your patch is much more elegant than mine, :-). And it works for me, thanks. -- Best Regards, Dunrong Huang

Re: [Qemu-devel] [PATCH] target-i386: fix build with -Werror

2012-06-29 Thread Dunrong Huang
2012/6/29 Andreas Färber : > Am 29.06.2012 08:41, schrieb Dunrong Huang: >> Commit c4baa0503d9623f1ce891f525ccd140c598bc29a improved SSE table type >> safety but raises compile error of incompatible pointer type. > > What's the difference between the signatures? > Th

Re: [Qemu-devel] Build broken for i386-softmmu with --enable-debug

2012-06-28 Thread Dunrong Huang
t > is of type ‘TCGv_i32’ > /qemu/target-i386/translate.c:3635: error: assignment from incompatible > pointer type > /qemu/target-i386/translate.c:3636: error: incompatible type for argument 1 > of ‘sse_fn_l_p’ > /qemu/target-i386/translate.c:3636: note: expected ‘TCGv_i64’ but argument > is of type ‘TCGv_i32’ > > Regards, > > Stefan > > -- Best Regards, Dunrong Huang

[Qemu-devel] [PATCH] target-i386: fix build with -Werror

2012-06-28 Thread Dunrong Huang
Commit c4baa0503d9623f1ce891f525ccd140c598bc29a improved SSE table type safety but raises compile error of incompatible pointer type. Fix it by casting to correct function type Signed-off-by: Dunrong Huang --- target-i386/translate.c | 22 +++--- 1 files changed, 11 insertions

Re: [Qemu-devel] Compiling static

2012-06-28 Thread Dunrong Huang
This post may give you some advice http://lists.gnu.org/archive/html/qemu-devel/2012-06/msg02319.html 2012/6/28 Davide Ferraretto : > I want compile qemu with --static: > ./configure --static --target-list=i386-linux-user,arm-linux-user > --python=/usr/bin/python2.7 --prefix=/install_qemu > > Qem

Re: [Qemu-devel] The latest qemu.git/master build break

2012-06-18 Thread Dunrong Huang
bdir-libcacard] Error 2 > I also get this error, my solution is to delete the temporary file by: rm -rf libcacard/libcacard rm -rf libcacard/trace I think there should be a better way to solve it. > > -- > Regards, > > Zhi Yong Wu > -- Regards, Dunrong Huang blog: ht

Re: [Qemu-devel] Compiling static

2012-06-14 Thread Dunrong Huang
2012/6/14 Davide Ferraretto : > I want compile qemu with --static: > ./configure --static --target-list=i386-linux-user,arm-linux-user > --python=/usr/bin/python2.7 --prefix=/install_qemu > > Qemu returns: > /usr/bin/ld: cannot find -lssl3 > /usr/bin/ld: cannot find -lsmime3 > /usr/bin/ld: cannot f

Re: [Qemu-devel] [Bug 1011142] [NEW] Arm emulation do a crash

2012-06-10 Thread Dunrong Huang
2012/6/10 BRULE Herman <1011...@bugs.launchpad.net>: > I can't debug it with gdb, it crash after the kernel boot (the qemu > application crash). > I'm under gentoo: I am under gentoo too, why cant you use debug qemu? There is another way to debug qemu: Open a terminal, set you core file size to

Re: [Qemu-devel] qemu 1.1.0 says 1.1.50

2012-06-04 Thread Dunrong Huang
2012/6/5 MATSUDA, Daiki : > I tried qemu-1.1.0. But it says 1.1.50 and > $ echo VERSION > 1.1.50 > > Is it correct ? It's correct. Because v1.1 has released, v1.1.50 means it's a development branch for v1.2(next branch). If you want to try latest stable version, you should download it from http://w

Re: [Qemu-devel] VirtIO Net driver for Ubuntu 11.10

2012-06-03 Thread Dunrong Huang
rade your kernel, maybe this problem can be fixed. It's just a suggestion. > > -Original Message----- > From: Dunrong Huang [mailto:riegama...@gmail.com] > Sent: Monday, June 04, 2012 2:26 PM > To: Charles.Tsai-蔡清海-研究�l展部 > Cc: qemu-devel@nongnu.org > Subject: Re: [Qemu-

Re: [Qemu-devel] VirtIO Net driver for Ubuntu 11.10

2012-06-03 Thread Dunrong Huang
2012/6/4 Charles.Tsai-蔡清海-研究�l展部 : > I am just curious about this issue. Is there any document mentioning the > lowest version of the kernel to be supported by VirtIO? > See http://www.linux-kvm.org/page/Virtio > > -Original Message- > From: Dunrong Huang [mailto:ri

Re: [Qemu-devel] VirtIO Net driver for Ubuntu 11.10

2012-06-03 Thread Dunrong Huang
2012/6/4 Dunrong Huang : > 2012/6/4 Charles.Tsai-蔡清海-研究�l展部 : >> The kernel version is 3.0.0.12 >> The Qemu version is 1.0.0(we upgraded it) >> >> What version of kernel do we need to upgrade? > The latest version is v3.4, so you can try and upgrade to v3.1, v3.

Re: [Qemu-devel] VirtIO Net driver for Ubuntu 11.10

2012-06-03 Thread Dunrong Huang
2012/6/4 Charles.Tsai-蔡清海-研究�l展部 : > The kernel version is 3.0.0.12 > The Qemu version is 1.0.0(we upgraded it) > > What version of kernel do we need to upgrade? The latest version is v3.4, so you can try and upgrade to v3.1, v3.2 or v3.3, and test it. > > -Original Message- > From: mathsli

Re: [Qemu-devel] [Bug 1008136] [NEW] Cannot compile 1.1.0

2012-06-03 Thread Dunrong Huang
Jorge Bastos writes: > Public bug reported: > > Howdy, > > Testing QEMU 1.1.0 but doesn't compile: > > > CCfsdev/virtfs-proxy-helper.o > In file included from /usr/include/i386-linux-gnu/bits/sigcontext.h:28:0, > from /usr/include/signal.h:339, > from ./qem

[Qemu-devel] Wrong machine name in our wiki

2012-06-02 Thread Dunrong Huang
Hi, folks I am reading ChangeLog/1.1 in our wiki, and find a wrong machine name. In this sentence: "New 'nuri' and 'smbkc210' models of Samsung Exynos4210 based devboards." The correct model name is "smdkc210", not "smbkc210". Can anyone who have editor privileges fix it? -- linuxer and ema

Re: [Qemu-devel] Build fails on OS X Lion

2012-05-26 Thread dunrong huang
2012/5/27 Charlie Somerville : > Hi qemu-devel, > > I tried to build the 1.1.0-rc3 on Mac OS X Lion, and I get this compile > error: > > qga/commands-posix.c: In function ‘qmp_guest_shutdown’: > qga/commands-posix.c:65: error: ‘environ’ undeclared (first use in this > function) > qga/commands-posix

Re: [Qemu-devel] buildbot failure in qemu on default_openbsd_current

2012-05-23 Thread dunrong huang
2012/5/23 Luiz Capitulino > On Wed, 23 May 2012 10:35:36 +0800 > dunrong huang wrote: > > > 2012/5/23 Andreas Färber > > > > > Am 23.05.2012 01:09, schrieb q...@buildbot.b1-systems.de: > > > > The Buildbot has detected a new failure on builder > &g

Re: [Qemu-devel] buildbot failure in qemu on default_openbsd_current

2012-05-22 Thread dunrong huang
2012/5/23 Andreas Färber > Am 23.05.2012 01:09, schrieb q...@buildbot.b1-systems.de: > > The Buildbot has detected a new failure on builder > default_openbsd_current while building qemu. > > Full details are available at: > > > http://buildbot.b1-systems.de/qemu/builders/default_openbsd_current/b

[Qemu-devel] [PATCH 1.1 v2] qdev: Fix memory leak

2012-05-18 Thread dunrong huang
The str allocated in visit_type_str was not freed. The visit_type_str function is an input visitor(-to-native) here, it will allocate memory for caller, so the caller is responsible for freeing the memory. Signed-off-by: dunrong huang --- hw/qdev-properties.c |6 +- 1 files changed, 5

Re: [Qemu-devel] [PATCH] Prevent disk data loss when closing qemu

2012-05-16 Thread dunrong huang
What's the difference of these two method to call bdrv_close_all? If you close qemu window, the main_loop will return immediately, and call bdrv_close_all. 2012/5/16 Pavel Dovgaluk > Prevent disk data loss when closing qemu window. > > Signed-off-by: Pavel Dovgalyuk > --- > vl.c |2 +- >

Re: [Qemu-devel] [PATCH] qdev: Fix memory leak

2012-05-14 Thread dunrong huang
t and return. So, i think it doesnt matter whether initializing it or not in this situation. But the str must be freed to avoid memory leak 2012/5/15 Michael Roth > On Mon, May 14, 2012 at 09:36:36PM +0200, Stefan Weil wrote: > > Hello, > > > > Am 03.05.2012 10:34, schrieb

Re: [Qemu-devel] [PATCH] qdev: Fix memory leak

2012-05-03 Thread dunrong huang
Sorry, i miss the "[PATCH]" in mail's title, i will resend it again. 2012/5/3 dunrong huang > The str allocated in visit_type_str was not freed > > Signed-off-by: dunrong huang > --- > hw/qdev-properties.c |8 ++-- > 1 files changed, 6 insertions(+), 2

[Qemu-devel] [PATCH] qdev: Fix memory leak

2012-05-03 Thread dunrong huang
The str allocated in visit_type_str was not freed Signed-off-by: dunrong huang --- hw/qdev-properties.c |8 ++-- 1 files changed, 6 insertions(+), 2 deletions(-) diff --git a/hw/qdev-properties.c b/hw/qdev-properties.c index 98dd06a..8088699 100644 --- a/hw/qdev-properties.c +++ b/hw

[Qemu-devel] [PATCH] qdev: Fix memory leak

2012-05-03 Thread dunrong huang
The str allocated in visit_type_str was not freed Signed-off-by: dunrong huang --- hw/qdev-properties.c |8 ++-- 1 files changed, 6 insertions(+), 2 deletions(-) diff --git a/hw/qdev-properties.c b/hw/qdev-properties.c index 98dd06a..8088699 100644 --- a/hw/qdev-properties.c +++ b/hw