o allocate requested memory. Perhaps due to
No enough memory.
But when i tried with "-m 3000", it can work.
So i have one question about this. How to determine the supported max
memory size of one VM on one specifc host?
Can anyone elaborate it for me? thanks.
--
Regards,
Zhi Yong Wu
On Fri, Feb 10, 2012 at 6:35 PM, Stefan Hajnoczi wrote:
> On Fri, Feb 10, 2012 at 9:47 AM, Zhi Yong Wu wrote:
>> Today i tried to create one VM with the option "-m 4000", and found it
>> failed with the following errors:
>>
>> Failed to allocate 4194304000
On Fri, Feb 10, 2012 at 7:10 PM, Stefan Hajnoczi wrote:
> On Fri, Feb 10, 2012 at 11:00 AM, Zhi Yong Wu wrote:
>> On Fri, Feb 10, 2012 at 6:35 PM, Stefan Hajnoczi wrote:
>>> On Fri, Feb 10, 2012 at 9:47 AM, Zhi Yong Wu wrote:
>>>> Today i tried to create one VM
On Fri, Feb 10, 2012 at 7:31 PM, Stefan Hajnoczi wrote:
> On Fri, Feb 10, 2012 at 11:23 AM, Zhi Yong Wu wrote:
>> On Fri, Feb 10, 2012 at 7:10 PM, Stefan Hajnoczi wrote:
>>> On Fri, Feb 10, 2012 at 11:00 AM, Zhi Yong Wu wrote:
>>>> On Fri, Feb 10, 2012 at 6:35 PM
From: Zhi Yong Wu
Signed-off-by: Zhi Yong Wu
---
oslib-posix.c |4 ++--
oslib-win32.c |4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/oslib-posix.c b/oslib-posix.c
index b6a3c7f..f978d56 100644
--- a/oslib-posix.c
+++ b/oslib-posix.c
@@ -80,7 +80,7 @@ void
On Fri, Feb 10, 2012 at 10:08 PM, Stefan Hajnoczi wrote:
> On Fri, Feb 10, 2012 at 11:53 AM, Zhi Yong Wu wrote:
>> By the way, need we still to do one clean failure exit?
>
> I find the abort(3) usage odd but it's not critical to change it.
> Since we printed an err
On Fri, Feb 10, 2012 at 10:41 PM, Daniel P. Berrange
wrote:
> On Fri, Feb 10, 2012 at 10:34:13PM +0800, Zhi Yong Wu wrote:
>> From: Zhi Yong Wu
>>
>> Signed-off-by: Zhi Yong Wu
>> ---
>> oslib-posix.c | 4 ++--
>> oslib-win32.c | 4 ++--
>>
From: Zhi Yong Wu
Signed-off-by: Zhi Yong Wu
---
oslib-posix.c |4 ++--
oslib-win32.c |2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/oslib-posix.c b/oslib-posix.c
index b6a3c7f..3b7cd9d 100644
--- a/oslib-posix.c
+++ b/oslib-posix.c
@@ -80,7 +80,7 @@ void
On Fri, Feb 10, 2012 at 11:53 PM, Stefan Weil wrote:
> Am 10.02.2012 16:13, schrieb Zhi Yong Wu:
>
>> On Fri, Feb 10, 2012 at 10:41 PM, Daniel P. Berrange
>> wrote:
>>>
>>> On Fri, Feb 10, 2012 at 10:34:13PM +0800, Zhi Yong Wu wrote:
>>>>
>>&
u need to fflush(stderr) prior to
> _Exit(), or else use write() rather than fprintf(), since otherwise your
> attempt at a nice oom error message is lost.
Great, pls see next version.
>
> --
> Eric Blake ebl...@redhat.com +1-919-301-3266
> Libvirt virtualization library http://libvirt.org
>
--
Regards,
Zhi Yong Wu
;> writefds=
>> 0x7fffdf60, xfds=0x7fffdee0, select_error=0) at
>> slirp/slirp.c:588
>> #3 0x77e114c3 in main_loop_wait (nonblocking=> out>)
>> at main-loop.c:466
>> #4 0x77e09ed4 in main_loop (argc=,
>> argv=, envp=)
>> at /home/mst/scm/qemu/vl.c:1482
>> #5 main (argc=, argv=,
>> envp=) at /home/mst/scm/qemu/vl.c:3525
>> (gdb) p element
>> $1 = (struct quehead *) 0x0
>>
>>
>
>
--
Regards,
Zhi Yong Wu
On Wed, Feb 15, 2012 at 10:34 PM, Anthony Liguori wrote:
> Please respond to this note with an '+1', or an Ack, to vote for this icon.
+1
--
Regards,
Zhi Yong Wu
On Wed, Feb 15, 2012 at 4:30 PM, Jan Kiszka wrote:
> On 2012-02-15 09:13, zwu.ker...@gmail.com wrote:
>> From: Zhi Yong Wu
>>
>> This patch fixes the slirp crash in current QEMU upstream.
>>
>> Signed-off-by: Zhi Yong W
On Thu, Feb 16, 2012 at 4:37 PM, Jan Kiszka wrote:
> On 2012-02-16 09:07, zwu.ker...@gmail.com wrote:
>> From: Zhi Yong Wu
>>
>
> Please summarize in a bit more details what was broken.
Should those bits be put in the message part of this part? or here?
>
>&
On Thu, Feb 16, 2012 at 4:45 PM, Zhi Yong Wu wrote:
> On Thu, Feb 16, 2012 at 4:37 PM, Jan Kiszka wrote:
>> On 2012-02-16 09:07, zwu.ker...@gmail.com wrote:
>>> From: Zhi Yong Wu
>>>
>>
>> Please summarize in a bit more details what was broken.
> Shoul
On Thu, Feb 16, 2012 at 4:48 PM, Jan Kiszka wrote:
> On 2012-02-16 09:45, Zhi Yong Wu wrote:
>> On Thu, Feb 16, 2012 at 4:37 PM, Jan Kiszka wrote:
>>> On 2012-02-16 09:07, zwu.ker...@gmail.com wrote:
>>>> From: Zhi Yong Wu
>>>>
>>>
>>
On Thu, Feb 16, 2012 at 5:21 PM, Zhi Yong Wu wrote:
> On Thu, Feb 16, 2012 at 4:48 PM, Jan Kiszka wrote:
>> On 2012-02-16 09:45, Zhi Yong Wu wrote:
>>> On Thu, Feb 16, 2012 at 4:37 PM, Jan Kiszka wrote:
>>>> On 2012-02-16 09:07, zwu.ker...@gmail.com
Your mail has not CCed to qemu-devel mail, and only sent to me.
Help you fwd to qemu-devel mail list.
On Thu, Feb 16, 2012 at 12:44 PM, Khansa Butt wrote:
> +1
>
>
> On Thu, Feb 16, 2012 at 6:56 AM, Zhi Yong Wu wrote:
>>
>> On Wed, Feb 15, 2012 at 10:34 PM, A
nit_socket(QemuOpts *opts,
> return -1;
> }
> } else {
> - error_report("-socket requires fd=, listen=, \
> - connect=, mcast= or udp=");
> + error_report("-socket requires fd=, listen=,"
> + " connect=, mcast= or udp=");
> return -1;
> }
> return 0;
> --
> 1.7.8.3
>
>
--
Regards,
Zhi Yong Wu
sorry, made one mistake
On Fri, Feb 17, 2012 at 2:34 PM, Zhi Yong Wu wrote:
> I would like to know if some one is playing around with the patchset.
>
> If yes, can you make one response? I am very interested in rebasing
> it, and then playing with it.
>
> On Fri, Feb 10, 2012
ached to the hub.
>
> I think the code is already there, it should work. I didn't submit
> this because I wanted to implement automated tests to ensure that
> these changes don't brake the old syntax for "VLANs".
>
> Feel free to play around with the vlan-hub branch, test it, and push
> it upstream along with changes that you make.
>
> Stefan
>
--
Regards,
Zhi Yong Wu
gt; + unsigned int hub_id;
>> + net_hub_id_for_client(*ptr, &hub_id);
>
> It's unclear what happens if net_hub_id_for_client() fails but it looks
> like hub_id may be uninitialized.
>
> Stefan
>
--
Regards,
Zhi Yong Wu
HI,
When i want to rebase my hub-based network patchset to latest
qemu.git/master, i found the build break.
lt LINK libcacard.la
ar: libcacard/cac.o: No such file or directory
make[1]: *** [libcacard.la] Error 1
make: *** [subdir-libcacard] Error 2
--
Regards,
Zhi Yong Wu
please ignore this. thanks.
On Tue, Jun 19, 2012 at 1:13 AM, wrote:
> From: Zhi Yong Wu
>
> The NetSocketState struct contains two file descriptors: an active
> connection and a listen socket for new connections. It's important that
> we clean up after ourselves so these
On Mon, Jun 18, 2012 at 11:37 PM, Dunrong Huang wrote:
> 2012/6/18 Zhi Yong Wu :
>> HI,
>>
>> When i want to rebase my hub-based network patchset to latest
>> qemu.git/master, i found the build break.
>>
>> lt LINK libcacard.la
>> ar: libcaca
pull?
On Thu, Jun 21, 2012 at 9:14 PM, Stefan Hajnoczi wrote:
> On Wed, Jun 20, 2012 at 10:42 AM, wrote:
>> From: Zhi Yong Wu
>>
>> All comments have been addressed and stefan has completed one more reviewing.
>>
>> For this patchset, my git repo:
>>
pull?
On Wed, Jun 20, 2012 at 5:46 PM, wrote:
> From: Zhi Yong Wu
>
> The patchset is on top of hub-based networking patchset.
>
> For this patchset, my git repo:
>
> g...@github.com:wuzhy/qemu.git for-anthony
>
> Zhi Yong Wu (3):
> net: fix the coding sty
changed, 292 insertions(+), 22 deletions(-)
> create mode 100755 tests/qemu-iotests/039
> create mode 100644 tests/qemu-iotests/039.out
>
> --
> 1.7.10
>
>
--
Regards,
Zhi Yong Wu
ts to scan target IDs up to
> VIRTIO_SCSI_MAX_TARGET when connected via virtio-scsi-raw.
>
> It's currently cut against Zhi's qemu vhost-scsi tree here:
>
>https://github.com/wuzhy/qemu/tree/vhost-scsi
>
> Cc: Stefan Hajnoczi
> Cc: Zhi Yong Wu
> Cc: Paolo Bonzini
>
>
> It's currently cut against Zhi's qemu vhost-scsi tree here:
>
>https://github.com/wuzhy/qemu/tree/vhost-scsi
>
> Cc: Stefan Hajnoczi
> Cc: Zhi Yong Wu
> Cc: Paolo Bonzini
> Signed-off-by: Nicholas Bellinger
> ---
> hw/virtio-scsi.c |6 +
>
> It's currently cut against Zhi's qemu vhost-scsi tree here:
>
>https://github.com/wuzhy/qemu/tree/vhost-scsi
>
> Cc: Stefan Hajnoczi
> Cc: Zhi Yong Wu
> Cc: Paolo Bonzini
> Signed-off-by: Nicholas Bellinger
> ---
> hw/virtio-scsi.c |6 +
B Status presentation at KVM Forum 2012 in
> November:
>
> http://www.linux-kvm.org/wiki/images/b/be/2012-forum-qemu-usb-status-update.pdf
>
> Stefan
>
--
Regards,
Zhi Yong Wu
ioport = (IORange *) 0x30d1d5e7400
> #10 0x030b0d5bfb65 in ioport_write (index=0, address=49216, data=8) at
> /home/ports/pobj/qemu-1.3.0-debug/qemu-1.3.0/ioport.c:83
> func = (IOPortWriteFunc *) 0x30b0d5c0148
> default_func = {0x30b0d5bfbbc ,
> 0x30b0d5bfc61 , 0x30b0d5bfd0c }
> #11 0x030b0d5c0704 in cpu_outb (addr=49216, val=8 '\b') at
> /home/ports/pobj/qemu-1.3.0-debug/qemu-1.3.0/ioport.c:289
> No locals.
> #12 0x030b0d6067dd in helper_outb (port=49216, data=8) at
> /home/ports/pobj/qemu-1.3.0-debug/qemu-1.3.0/target-i386/misc_helper.c:72
> No locals.
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/qemu/+bug/1087114/+subscriptions
>
--
Regards,
Zhi Yong Wu
d for memory device
>
> Makefile |2 +-
> src/acpi-dsdt-mem-hotplug.dsl | 136 +++
> src/acpi-dsdt.dsl |5 +-
> src/acpi.c| 158
> +++--
> src/paravirt.c|6 ++
> src/paravirt.h|2 +
> src/pciinit.c |9 +++
> src/q35-acpi-dsdt.dsl |6 +-
> src/ssdt-mem.dsl | 73 +++
> tools/acpi_extract.py | 28 +++
> 10 files changed, 415 insertions(+), 10 deletions(-)
> create mode 100644 src/acpi-dsdt-mem-hotplug.dsl
> create mode 100644 src/ssdt-mem.dsl
>
> --
> 1.7.9
>
>
--
Regards,
Zhi Yong Wu
er_dma(&ns->ide[0], s->dbdma, 0x1a);
> +macio_ide_register_dma(&ns->ide[1], s->dbdma, 0x1a);
> ret = qdev_init(DEVICE(&ns->ide[1]));
> if (ret < 0) {
> return ret;
> --
> 1.7.10.4
>
>
--
Regards,
Zhi Yong Wu
nformation Science,
> Academia Sinica, Taiwan (R.O.C.)
> Tel:886-2-2788-3799 #1667
> Homepage: http://people.cs.nctu.edu.tw/~chenwj
>
--
Regards,
Zhi Yong Wu
lt LINK libcacard.la
CClibcacard/vscclient.o
lt LINK vscclient
/usr/bin/ld: -f may not be used without -shared
collect2: ld returned 1 exit status
make: *** [vscclient] Error 1
Suguested-by: Paolo Bonzini
Signed-off-by: Zhi Yong Wu
---
Makefile |2 ++
1 files changed, 2 insertions
-lgthread-2.0 -lglib-2.0 -lrt -lz -luuid -lutil
-Wl,--rpath -Wl,/usr/local/lib
/usr/bin/ld: -f may not be used without -shared
collect2: ld returned 1 exit status
make: *** [vscclient] Error 1
On Tue, Sep 30, 2014 at 5:28 PM, Paolo Bonzini wrote:
> Il 30/09/2014 11:12, Zhi Yong Wu ha scritto:
>
On Tue, Sep 30, 2014 at 10:06 PM, Paolo Bonzini wrote:
> Il 30/09/2014 15:57, Zhi Yong Wu ha scritto:
>> libtool --mode=link --tag=CC c++ -m64 -D_GNU_SOURCE
>> -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -Wstrict-prototypes
>> -Wredundant-decls -Wall -Wundef -Wwrite-strings
On Tue, Sep 30, 2014 at 11:16 PM, Paolo Bonzini wrote:
> Il 30/09/2014 17:09, Zhi Yong Wu ha scritto:
>>> >
>>> > So the problem seems to be with "-Wl,-fstack-protector-all". Where does
>>> > it come from? QEMU or some pkg-config file?
&
meanings of these flags? such as
IO_MEM_RAM, IO_MEM_ROM, IO_MEM_UNASSIGNED, IO_MEM_*, IO_MEM_ROMD, and
IO_MEM_SUBPAGE.
Can anyone give some helpful comments?
--
Regards,
Zhi Yong Wu
On Wed, Dec 21, 2011 at 9:30 PM, Avi Kivity wrote:
> On 12/21/2011 02:09 PM, Zhi Yong Wu wrote:
>> HI,
>>
>> For memory management, i have several questions as below:
>>
>> 1.) Why is subpage introduced? what is its goal?
>
> A TLB entry spans one page; a s
anyway, thanks.
On Thu, Dec 22, 2011 at 8:38 PM, Avi Kivity wrote:
> On 12/22/2011 01:24 PM, Zhi Yong Wu wrote:
>> >
>> >> 2.) How to render MemoryRegion into one disjoint flatrange list? That
>> >> rendering function is a bit difficult to understand
http://wiki.qemu.org/Contribute/SubmitAPatch
>>
>> Regards,
>> chenwj
>>
>> --
>> Wei-Ren Chen (陳韋任)
>> Computer Systems Lab, Institute of Information Science,
>> Academia Sinica, Taiwan (R.O.C.)
>> Tel:886-2-2788-3799 #1667
>> Homepage: http://people.cs.nctu.edu.tw/~chenwj
>>
--
Regards,
Zhi Yong Wu
; I'd want to focus initially on the common PC devices. The list isn't all
> that large and a review like this should only take a few hours to complete
> each step.
>
> Would folks be interested in participating in something like this? If so, I
> can start organizing it.
echo "drive has wrong serial!"
> + echo "Expected '$serial', got '$guest_serial'"
> + return 2
> + fi
> +
> + return 0
> +}
How will you make in_guest() run in that guest system?
> +
> +if test $QEMU_TEST; then
> + in_host
> +else
> + in_guest
> +fi
> --
> 1.7.6
>
>
--
Regards,
Zhi Yong Wu
On Sat, Jan 14, 2012 at 9:03 AM, Zhi Yong Wu wrote:
> On Sat, Jan 14, 2012 at 5:49 AM, Ryan Harper wrote:
>> We can test out the virtio-blk drive serial number by generating and then
>> reading it back via the file in sysfs.
>>
>> Signed-off-by: Ryan Harper
>&g
seeing.
>>
>> Can we add some workaround? Not sure what will work, maybe a simple
>> compiler barrier?
>
> Sure though it seems like a very rare case - OP was running Linux From
> Scratch and hence got the broken gcc. But if someone does a small
> workaround and tests it then that would be nice.
How to do this workaround in qemu since it is one gcc bug?
>
> Stefan
>
--
Regards,
Zhi Yong Wu
On Sun, Jan 15, 2012 at 10:39 PM, Anthony Liguori wrote:
> On 01/13/2012 07:25 PM, Zhi Yong Wu wrote:
>>
>> On Sat, Jan 14, 2012 at 9:03 AM, Zhi Yong Wu wrote:
>>>
>>> On Sat, Jan 14, 2012 at 5:49 AM, Ryan Harper wrote:
>>>>
>>>> We can
On Sun, Jan 15, 2012 at 7:14 PM, Stefan Hajnoczi wrote:
> On Sat, Jan 14, 2012 at 3:40 PM, Zhi Yong Wu wrote:
>> On Mon, Jan 9, 2012 at 9:00 PM, Stefan Hajnoczi wrote:
>>> On Mon, Jan 9, 2012 at 11:25 AM, Kevin Wolf wrote:
>>>> Am 20.12.2011 17:49, schrieb Stefan
+ b/qapi-schema.json
>> > @@ -1403,3 +1403,32 @@
>> > ##
>> > { 'command': 'change',
>> > 'data': {'device': 'str', 'target': 'str', '*arg': 'str'} }
>> > +
>> > +##
>> > +# @block_set_io_throttle:
>> > +#
>> > +# Change I/O throttle limits for a block drive.
>> > +#
>> > +# @device: The name of the device
>> > +#
>> > +# @bps: total throughput limit in bytes per second
>> > +#
>> > +# @bps_rd: read throughput limit in bytes per second
>> > +#
>> > +# @bps_wr: read throughput limit in bytes per second
>>
>> write throughput.
>
> Fixed.
>
>> > +#
>> > +# @iops: total I/O operations per second
>> > +#
>> > +# @ops_rd: read I/O operations per second
>> > +#
>> > +# @iops_wr: write I/O operations per second
>> > +#
>> > +# Returns: Nothing on success
>> > +# If @device is not a valid block device, DeviceNotFound
>> > +# If the argument combination is invalid,
>> > InvalidParameterCombination
>> > +#
>> > +# Since: 1.1
>>
>>
>> Do all of these fields have to be specified? It looks like they were all
>> optional in the previous form of the command so they should probably be
>> optional
>> here too.
>
> They were required, as it's necessary to use '?' for optionals in the
> args_type entry:
>
>> > --- a/qmp-commands.hx
>> > +++ b/qmp-commands.hx
>> > @@ -807,10 +807,7 @@ EQMP
>> > {
>> > .name = "block_set_io_throttle",
>> > .args_type =
>> > "device:B,bps:l,bps_rd:l,bps_wr:l,iops:l,iops_rd:l,iops_wr:l",
>
> The implementation also seems to imply they are required because there's
> an explicit check for it (which can be dropped in the new version...).
>
> Can the author/block guys confirm these parameters are intended to be
> required?
For hmp, they are required, while for qmp, they are optional in
theory. In order to two interfaces consistent, these parameters are
all required.
>
--
Regards,
Zhi Yong Wu
On Tue, Mar 13, 2012 at 2:22 AM, Paolo Bonzini wrote:
> From: Zhi Yong Wu
>
> Signed-off-by: Zhi Yong Wu
> [ Iterate until all block devices have processed all requests,
> add comments. - Paolo ]
> Signed-off-by: Paolo Bonzini
> ---
> block.c | 21
On Tue, Mar 13, 2012 at 2:22 AM, Paolo Bonzini wrote:
> From: Zhi Yong Wu
>
> Signed-off-by: Zhi Yong Wu
> [ Iterate until all block devices have processed all requests,
> add comments. - Paolo ]
> Signed-off-by: Paolo Bonzini
> ---
> block.c | 21
On Tue, Mar 13, 2012 at 2:22 AM, Paolo Bonzini wrote:
> From: Zhi Yong Wu
>
> Signed-off-by: Zhi Yong Wu
> [ Iterate until all block devices have processed all requests,
> add comments. - Paolo ]
> Signed-off-by: Paolo Bonzini
> ---
> block.c | 21
-h
> environment variables:
> QMP_SOCKET=
> usage:
> /home/mdroth/bin/qom-get [-h] [-s ]
> .
>
> mdroth@illuin:~$ qom-list -h
> environment variables:
> QMP_SOCKET=
> usage:
> /home/mdroth/bin/qom-list [-h] [-s ] []
>
>
--
Regards,
Zhi Yong Wu
int-to-point
>> clients which are connected to a peer. It's time to rename the global
>> list of net clients since it no longer refers to vlans at all.
>>
>> Signed-off-by: Stefan Hajnoczi
>> Signed-off-by: Zhi Yong Wu
>> ---
>> net.c | 20 ++
On Tue, Mar 13, 2012 at 9:52 PM, Jan Kiszka wrote:
> On 2012-03-13 14:40, Zhi Yong Wu wrote:
>> On Tue, Mar 13, 2012 at 9:36 PM, Jan Kiszka wrote:
>>> On 2012-03-13 13:57, Zhi Yong Wu wrote:
>>>> HI, Jan
>>>>
>>>> Why can i not see kvmclo
On Tue, Mar 13, 2012 at 10:36 PM, Andreas Färber wrote:
> Am 13.03.2012 15:11, schrieb Zhi Yong Wu:
>> On Tue, Mar 13, 2012 at 9:52 PM, Jan Kiszka wrote:
>>> On 2012-03-13 14:40, Zhi Yong Wu wrote:
>>>> On Tue, Mar 13, 2012 at 9:36 PM, Jan Kiszka wrote:
>>
On Tue, Mar 13, 2012 at 11:10 PM, Andreas Färber wrote:
> Am 13.03.2012 15:52, schrieb Zhi Yong Wu:
>> On Tue, Mar 13, 2012 at 10:36 PM, Andreas Färber wrote:
>>> What you are looking for is the "parent" property which gets set up by
>> You mean that current dev
On Tue, Mar 13, 2012 at 11:18 PM, Andreas Färber wrote:
> Am 13.03.2012 16:17, schrieb Zhi Yong Wu:
>> On Tue, Mar 13, 2012 at 11:10 PM, Andreas Färber wrote:
>>> Am 13.03.2012 15:52, schrieb Zhi Yong Wu:
>>>> On Tue, Mar 13, 2012 at 10:36 PM, Andreas Färber wro
On Tue, Mar 13, 2012 at 11:10 PM, Andreas Färber wrote:
> Am 13.03.2012 15:52, schrieb Zhi Yong Wu:
>> On Tue, Mar 13, 2012 at 10:36 PM, Andreas Färber wrote:
>>> What you are looking for is the "parent" property which gets set up by
>> You mean that current dev
On Wed, Mar 14, 2012 at 12:28 AM, Andreas Färber wrote:
> Am 13.03.2012 16:21, schrieb Zhi Yong Wu:
>> On Tue, Mar 13, 2012 at 11:10 PM, Andreas Färber wrote:
>>> Am 13.03.2012 15:52, schrieb Zhi Yong Wu:
>>>> On Tue, Mar 13, 2012 at 10:36 PM, Andreas Färber wro
> > calling said object_property_add_child(). ("wired up" above)
>> >
>> > Anthony had an RFC series refactoring i440fx, for instance, that sparked
>> > some controversy and was not followed-up yet.
>> thanks.
>
> I'm a little curious that QOM will become more dependent than ever.
> Originally,
It has better expandability than qdev.
> qemu has qdev prototype to trace device/bus staff. Is QOM going to replace
> qdev/qbus
Yeah
> staff in future?
>
> Thanks,
> Gavin
>
--
Regards,
Zhi Yong Wu
HI, Kevin,
We hope that I/O throttling can be shipped without known issue in QEMU
1.1, so if you are available, can you give this patch some love?
On Tue, Mar 13, 2012 at 9:53 AM, wrote:
> From: Zhi Yong Wu
>
> Signed-off-by: Zhi Yong Wu
> [ Iterate until all block devices have p
Sorry, pls ignore this patch
On Mon, Mar 26, 2012 at 1:40 PM, wrote:
> From: Zhi Yong Wu
>
> Signed-off-by: Zhi Yong Wu
> ---
> cpu-common.h | 13 +-
> hw/qdev-monitor.c | 4 ++-
> hw/qdev.h | 2 +
>
A lot of property get/set functions in qdev-properties.c are related
to DeviceState. So i have to copy and modify some of them here to
apply our host device model. In the future, we should make those
functions more generic.
On Mon, Mar 26, 2012 at 1:40 PM, wrote:
> From: Zhi Yong Wu
>
&g
On Mon, Mar 26, 2012 at 7:54 PM, Stefan Hajnoczi wrote:
> On Mon, Mar 26, 2012 at 6:40 AM, wrote:
>> From: Zhi Yong Wu
>>
>> Sending the patchset is mainly intended to get some comments and void the
>> wrong development direction.
>>
>> The patchset is u
nberg, Germany
> GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer; HRB 16746 AG Nürnberg
--
Regards,
Zhi Yong Wu
On Mon, Mar 26, 2012 at 10:21 PM, Stefan Hajnoczi wrote:
> On Tue, Mar 20, 2012 at 11:44 AM, Stefan Hajnoczi
> wrote:
>> On Tue, Mar 20, 2012 at 10:58:10AM +0100, Kevin Wolf wrote:
>>> Am 20.03.2012 10:47, schrieb Paolo Bonzini:
>>> > Il 20/03/2012 10:40, Zhi Yon
On Tue, Mar 27, 2012 at 4:19 PM, Paolo Bonzini wrote:
> Il 26/03/2012 16:20, Zhi Yong Wu ha scritto:
>> struct PropertyInfo {
>> const char *name;
>> const char *legacy_name;
>> const char **enum_table;
>> int64_t min;
>> int64_t ma
imply a link property.
IMHO, i don't fully understand what link mean. What is the
difference between it and Child. Can you elaborate this?
>
> Paolo
--
Regards,
Zhi Yong Wu
The QemuOpts should not be part of the struct. You need to store them
> into properties at initialization time, and forget them afterwards.
This should be done in your QemuOpts QOM feature, right?:)
>
> All the infrastructure to do this is already in qdev-properties.c.
>
> Paolo
--
Regards,
Zhi Yong Wu
On Tue, Mar 27, 2012 at 6:15 PM, Paolo Bonzini wrote:
> Il 27/03/2012 11:06, Zhi Yong Wu ha scritto:
>>>> >> +#define DEFINE_HOSTDEV_PROP_PEER(_n, _s, _f) \
>>>> >> + DEFINE_HOSTDEV_PROP(_n, _s, _f, hostdev_prop_netdev,
>>>> >
On Tue, Mar 27, 2012 at 9:58 PM, Paolo Bonzini wrote:
> Il 27/03/2012 13:59, Zhi Yong Wu ha scritto:
>> On Tue, Mar 27, 2012 at 6:15 PM, Paolo Bonzini wrote:
>>> Il 27/03/2012 11:06, Zhi Yong Wu ha scritto:
>>>>>>>> +#
On Tue, Mar 27, 2012 at 10:50 PM, Paolo Bonzini wrote:
> Il 27/03/2012 16:18, Zhi Yong Wu ha scritto:
>> On Tue, Mar 27, 2012 at 9:58 PM, Paolo Bonzini wrote:
>>> Il 27/03/2012 13:59, Zhi Yong Wu ha scritto:
>>>> On Tue, Mar 27, 2012 at 6:15 PM, Paolo Bonzini wr
On Wed, Mar 28, 2012 at 2:41 PM, Paolo Bonzini wrote:
> Il 27/03/2012 23:21, Zhi Yong Wu ha scritto:
>>> Yes, that's correct. Everything that uses PROP_PTR needs to become a
>> But i didn't see that that stuff which uses PROP_PTR become a link in
>> current QEMU
By the way, why have we not add one QOM cookbook to docs? It is very
useful for us newbiew to learn.
On Wed, Mar 28, 2012 at 2:41 PM, Paolo Bonzini wrote:
> Il 27/03/2012 23:21, Zhi Yong Wu ha scritto:
>>> Yes, that's correct. Everything that uses PROP_PTR needs to become a
&g
On Wed, Mar 28, 2012 at 4:05 PM, 陳韋任 wrote:
>> Il 28/03/2012 09:53, Zhi Yong Wu ha scritto:
>> > By the way, why have we not add one QOM cookbook to docs? It is very
>> > useful for us newbiew to learn.
>
> You can write what you learn during this work. This should
--
> hw/ide/internal.h | 2 +
> 2 files changed, 91 insertions(+), 40 deletions(-)
>
> --
> 1.7.9.1
>
>
Reviewed-by: Zhi Yong Wu
--
Regards,
Zhi Yong Wu
On Fri, Mar 30, 2012 at 3:13 PM, Stefan Hajnoczi
wrote:
> On Tue, Mar 27, 2012 at 07:43:17PM +0800, zwu.ker...@gmail.com wrote:
>> From: Zhi Yong Wu
>>
>> Signed-off-by: Stefan Hajnoczi
>> Signed-off-by: Zhi Yong Wu
>> ---
>> block.c | 10 ++
&
Hello, all,
I have prepared to work on a feature called "Disk I/O limits" for qemu-kvm
projeect.
This feature will enable the user to cap disk I/O amount performed by a
VM.It is important for some storage resources to be shared among multi-VMs. As
you've known, if some of VMs are doing
On Tue, May 31, 2011 at 03:55:49PM -0400, Vivek Goyal wrote:
>Date: Tue, 31 May 2011 15:55:49 -0400
>From: Vivek Goyal
>To: Zhi Yong Wu
>Cc: kw...@redhat.com, aligu...@us.ibm.com, stefa...@linux.vnet.ibm.com,
> k...@vger.kernel.org, guijianf...@cn.fujitsu.com,
> qem
On Tue, May 31, 2011 at 03:55:49PM -0400, Vivek Goyal wrote:
>Date: Tue, 31 May 2011 15:55:49 -0400
>From: Vivek Goyal
>To: Zhi Yong Wu
>Cc: kw...@redhat.com, aligu...@us.ibm.com, stefa...@linux.vnet.ibm.com,
> k...@vger.kernel.org, guijianf...@cn.fujitsu.com,
> qem
On Wed, Jun 01, 2011 at 09:32:32AM -0400, Vivek Goyal wrote:
>Date: Wed, 1 Jun 2011 09:32:32 -0400
>From: Vivek Goyal
>To: Zhi Yong Wu
>Cc: kw...@redhat.com, stefa...@linux.vnet.ibm.com, k...@vger.kernel.org,
> guijianf...@cn.fujitsu.com, qemu-devel@nongnu.org, w
On Thu, Jun 02, 2011 at 09:17:06AM +0300, Sasha Levin wrote:
>Date: Thu, 02 Jun 2011 09:17:06 +0300
>From: Sasha Levin
>To: Zhi Yong Wu
>Cc: qemu-devel@nongnu.org, k...@vger.kernel.org, kw...@redhat.com,
> aligu...@us.ibm.com, herb...@gondor.apana.org.au,
> guijianf
On Thu, Jun 02, 2011 at 10:15:02AM +0300, Sasha Levin wrote:
>Date: Thu, 02 Jun 2011 10:15:02 +0300
>From: Sasha Levin
>To: Zhi Yong Wu
>Cc: kw...@redhat.com, aligu...@us.ibm.com, herb...@gondor.apana.org.au,
> k...@vger.kernel.org, guijianf...@cn.fujitsu.com,
> qem
On Thu, Jun 2, 2011 at 5:33 PM, Michal Suchanek wrote:
> On 1 June 2011 05:12, Zhi Yong Wu wrote:
>> On Tue, May 31, 2011 at 03:55:49PM -0400, Vivek Goyal wrote:
>>>Date: Tue, 31 May 2011 15:55:49 -0400
>>>From: Vivek Goyal
>>>To: Zhi Yong Wu
>>>Cc:
iops_rd=xxxin ios/s
(6) only write iops limit
-drive iops_wr=xxxin ios/s
(7) the combination of some limits.
-drive bps=xxx,iops=xxx
Known Limitations:
(1) #1 can not coexist with #2, #3
(2) #4 can not coexist with #5, #6
Zhi Yong Wu (1):
v2: The codes V2 for QEMU disk I
Welcome to give me your comments, thanks.
Signed-off-by: Zhi Yong Wu
---
Makefile.objs |2 +-
block.c | 288 +++--
block.h |1 -
block/blk-queue.c | 116 +
block/blk-queue.h | 70
Welcome to give me your comments, thanks.
Signed-off-by: Zhi Yong Wu
---
Makefile.objs |2 +-
block.c | 288 +++--
block.h |1 -
block/blk-queue.c | 116 +
block/blk-queue.h | 70
iops_rd=xxxin ios/s
(6) only write iops limit
-drive iops_wr=xxxin ios/s
(7) the combination of some limits.
-drive bps=xxx,iops=xxx
Known Limitations:
(1) #1 can not coexist with #2, #3
(2) #4 can not coexist with #5, #6
Zhi Yong Wu (1):
v2: The codes V2 for QEMU disk I
tefan
>
>
--
Regards,
Zhi Yong Wu
In qmp-commands.hx, there exists a typo, and it will be fixed by this patch.
Zhi Yong Wu (1):
Fix typo for qmp-commands.hx. Signed-off-by: Zhi Yong Wu
qmp-commands.hx |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
--
1.7.2.3
---
qmp-commands.hx |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/qmp-commands.hx b/qmp-commands.hx
index 92c5c3a..d7352ae 100644
--- a/qmp-commands.hx
+++ b/qmp-commands.hx
@@ -42,7 +42,7 @@ and we're going to establish a deprecation policy for badly
defined commands.
Signed-off-by: Zhi Yong Wu
---
hmp-commands.hx |2 --
1 files changed, 0 insertions(+), 2 deletions(-)
diff --git a/hmp-commands.hx b/hmp-commands.hx
index aceba74..3498f0f 100644
--- a/hmp-commands.hx
+++ b/hmp-commands.hx
@@ -1324,8 +1324,6 @@ show virtual to physical memory mappings
On Wed, Jul 27, 2011 at 3:26 AM, Marcelo Tosatti wrote:
> On Tue, Jul 26, 2011 at 04:59:06PM +0800, Zhi Yong Wu wrote:
>> Welcome to give me your comments, thanks.
>>
>> Signed-off-by: Zhi Yong Wu
>> ---
>> Makefile.objs |
OK. i will do it. thanks.
On Wed, Jul 27, 2011 at 10:45 PM, Stefan Hajnoczi wrote:
> On Wed, Jul 27, 2011 at 3:37 AM, Zhi Yong Wu wrote:
>> For networking and migration areas, is there any new feature to be
>> tested? If yes, can i be their testing volunteer?
>>
>> If
On Wed, Jul 27, 2011 at 8:58 PM, Stefan Hajnoczi wrote:
> On Wed, Jul 27, 2011 at 11:17 AM, Zhi Yong Wu wrote:
>> On Wed, Jul 27, 2011 at 3:26 AM, Marcelo Tosatti wrote:
>>> On Tue, Jul 26, 2011 at 04:59:06PM +0800, Zhi Yong Wu wrote:
>>>> Welcome to
On Wed, Jul 27, 2011 at 11:49 PM, Marcelo Tosatti wrote:
> On Wed, Jul 27, 2011 at 06:17:15PM +0800, Zhi Yong Wu wrote:
>> >> + wait_time = 1;
>> >> + }
>> >> +
>> >> + wait_time = wait_time + (slice_time - elapsed_time);
>
On Wed, Jul 27, 2011 at 8:58 PM, Stefan Hajnoczi wrote:
> On Wed, Jul 27, 2011 at 11:17 AM, Zhi Yong Wu wrote:
>> On Wed, Jul 27, 2011 at 3:26 AM, Marcelo Tosatti wrote:
>>> On Tue, Jul 26, 2011 at 04:59:06PM +0800, Zhi Yong Wu wrote:
>>>> Welcome to
1 - 100 of 492 matches
Mail list logo