[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-commits] [qemu/qemu] c3587c: virtio-serial: use uint32_t to count
From: |
GitHub |
Subject: |
[Qemu-commits] [qemu/qemu] c3587c: virtio-serial: use uint32_t to count ports |
Date: |
Tue, 18 Dec 2012 16:00:13 -0800 |
Branch: refs/heads/master
Home: https://github.com/qemu/qemu
Commit: c3587ca1a25862628e06cc019f91e7b2dcef40bf
https://github.com/qemu/qemu/commit/c3587ca1a25862628e06cc019f91e7b2dcef40bf
Author: Amit Shah <address@hidden>
Date: 2012-12-13 (Thu, 13 Dec 2012)
Changed paths:
M hw/virtio-serial-bus.c
Log Message:
-----------
virtio-serial: use uint32_t to count ports
Signed-off-by: Amit Shah <address@hidden>
Commit: 2e575a86abc36764ef34030f423ef118914a01cc
https://github.com/qemu/qemu/commit/2e575a86abc36764ef34030f423ef118914a01cc
Author: Amit Shah <address@hidden>
Date: 2012-12-13 (Thu, 13 Dec 2012)
Changed paths:
M hw/virtio-serial-bus.c
Log Message:
-----------
virtio-serial: move active ports loading to separate function
The virtio_serial_load() function became too big, split the code that
gets the port info from the source into a separate function.
Signed-off-by: Amit Shah <address@hidden>
Commit: bdb917bf8ab187b662c612ee6fb87479c0b82490
https://github.com/qemu/qemu/commit/bdb917bf8ab187b662c612ee6fb87479c0b82490
Author: Amit Shah <address@hidden>
Date: 2012-12-13 (Thu, 13 Dec 2012)
Changed paths:
M hw/virtio-serial-bus.c
Log Message:
-----------
virtio-serial: allocate post_load only at load-time
This saves us a few bytes in the VirtIOSerial struct. Not a big
savings, but since the entire structure is used only during a short
while after migration, it's helpful to keep the struct cleaner and
smaller.
Signed-off-by: Amit Shah <address@hidden>
Commit: a75bf146503a94fb900e0dfa0529bd5d1be9fec5
https://github.com/qemu/qemu/commit/a75bf146503a94fb900e0dfa0529bd5d1be9fec5
Author: Amit Shah <address@hidden>
Date: 2012-12-13 (Thu, 13 Dec 2012)
Changed paths:
M hw/virtio-serial-bus.c
Log Message:
-----------
virtio-serial: delete timer if active during exit
The post_load timer was being freed, but not deleted. This could cause
problems when the timer is armed, but the device is hot-unplugged before
the callback is executed.
Signed-off-by: Amit Shah <address@hidden>
Commit: 2c1d4d15f09cf95b8f832624e7aac2916f9d1865
https://github.com/qemu/qemu/commit/2c1d4d15f09cf95b8f832624e7aac2916f9d1865
Author: Stefano Stabellini <address@hidden>
Date: 2012-12-17 (Mon, 17 Dec 2012)
Changed paths:
M hw/xen_console.c
Log Message:
-----------
xen: implement support for secondary consoles in the console backend
This patch corresponds to commit
840184a106bc24e745beda5c77e392f6cecd2bc9 from
git://xenbits.xensource.com/qemu-xen-unstable.git.
Signed-off-by: Stefano Stabellini <address@hidden>
Commit: 044b99c6555f562254ae70dc39f32190eecbc1f2
https://github.com/qemu/qemu/commit/044b99c6555f562254ae70dc39f32190eecbc1f2
Author: Stefano Stabellini <address@hidden>
Date: 2012-12-17 (Mon, 17 Dec 2012)
Changed paths:
M hw/xen_pt_msi.c
Log Message:
-----------
xen: fix trivial PCI passthrough MSI-X bug
We are currently passing entry->data as address parameter. Pass
entry->addr instead.
Signed-off-by: Stefano Stabellini <address@hidden>
Tested-by: Sander Eikelenboom <address@hidden>
Xen-devel: http://marc.info/?l=xen-devel&m=135515462613715
Commit: f1b8caf1d927f30f66054733a783651a24db4999
https://github.com/qemu/qemu/commit/f1b8caf1d927f30f66054733a783651a24db4999
Author: Sander Eikelenboom <address@hidden>
Date: 2012-12-17 (Mon, 17 Dec 2012)
Changed paths:
M hw/xen_pt.c
M xen-all.c
Log Message:
-----------
Fix compile errors when enabling Xen debug logging.
Signed-off-by: Sander Eikelenboom <address@hidden>
Acked-by: Stefano Stabellini <address@hidden>
Commit: a38648290ee277c7cb8a53eabdcdb08bb7a9f23f
https://github.com/qemu/qemu/commit/a38648290ee277c7cb8a53eabdcdb08bb7a9f23f
Author: Ian Jackson <address@hidden>
Date: 2012-12-17 (Mon, 17 Dec 2012)
Changed paths:
M xen-all.c
Log Message:
-----------
cpu_ioreq_pio, cpu_ioreq_move: introduce read_phys_req_item,
write_phys_req_item
Replace a lot of formulaic multiplications (containing casts, no less)
with calls to a pair of functions. This encapsulates in a single
place the operations which require care relating to integer overflow.
Cc: Dongxiao Xu <address@hidden>
Signed-off-by: Ian Jackson <address@hidden>
Acked-by: Stefano Stabellini <address@hidden>
Commit: 249e7e0fff080df0eff54730f3b6459d92d61e5a
https://github.com/qemu/qemu/commit/249e7e0fff080df0eff54730f3b6459d92d61e5a
Author: Ian Jackson <address@hidden>
Date: 2012-12-17 (Mon, 17 Dec 2012)
Changed paths:
M xen-all.c
Log Message:
-----------
cpu_ioreq_pio, cpu_ioreq_move: i should be uint32_t rather than int
The current code compare i (int) with req->count (uint32_t) in a for
loop, risking an infinite loop if req->count is equal to UINT_MAX.
Also i is only used in comparisons or multiplications with unsigned
integers.
Signed-off-by: Stefano Stabellini <address@hidden>
Cc: Dongxiao Xu <address@hidden>
Cc: Stefano Stabellini <address@hidden>
Signed-off-by: Ian Jackson <address@hidden>
Commit: 2f464b5a32b414adb545acc6d94b5c35c7d258ba
https://github.com/qemu/qemu/commit/2f464b5a32b414adb545acc6d94b5c35c7d258ba
Author: Gerd Hoffmann <address@hidden>
Date: 2012-12-17 (Mon, 17 Dec 2012)
Changed paths:
M hw/qxl-render.c
Log Message:
-----------
qxl: save qemu_create_displaysurface_from result
Spotted by Coverity.
https://bugzilla.redhat.com/show_bug.cgi?id=885644
Cc: address@hidden
Reported-by: Markus Armbruster <address@hidden>
Signed-off-by: Gerd Hoffmann <address@hidden>
Commit: 938b8a36b65e44c44ca29245437f8d7ac0f826e8
https://github.com/qemu/qemu/commit/938b8a36b65e44c44ca29245437f8d7ac0f826e8
Author: Uri Lublin <address@hidden>
Date: 2012-12-17 (Mon, 17 Dec 2012)
Changed paths:
M ui/spice-core.c
Log Message:
-----------
qxl+vnc: register a vm state change handler for dummy spice_server
When qxl + vnc are used, a dummy spice_server is initialized.
The spice_server has to be told when the VM runstate changes,
which is what this patch does.
Without it, from qxl_send_events(), the following error message is shown:
qxl_send_events: spice-server bug: guest stopped, ignoring
Cc: address@hidden
Signed-off-by: Uri Lublin <address@hidden>
Signed-off-by: Gerd Hoffmann <address@hidden>
Commit: 07a54d704e62e2515db0b085d53d13a2f1b1b06a
https://github.com/qemu/qemu/commit/07a54d704e62e2515db0b085d53d13a2f1b1b06a
Author: Marc-André Lureau <address@hidden>
Date: 2012-12-17 (Mon, 17 Dec 2012)
Changed paths:
M spice-qemu-char.c
Log Message:
-----------
spice-qemu-char: write to chardev whatever amount it can read
The current code waits until the chardev can read MIN(len, VMC_MAX)
But some chardev may never reach than amount, in fact some of them
will only ever accept write of 1. Fix the min computation and remove
the VMC_MAX constant.
Signed-off-by: Gerd Hoffmann <address@hidden>
Commit: 71b423f4b970de2622803a67a2bf39b1d1f5a12c
https://github.com/qemu/qemu/commit/71b423f4b970de2622803a67a2bf39b1d1f5a12c
Author: Marc-André Lureau <address@hidden>
Date: 2012-12-17 (Mon, 17 Dec 2012)
Changed paths:
M spice-qemu-char.c
Log Message:
-----------
spice-qemu-char: factor out CharDriverState creation
Make the CharDriverState creation code reusable by spicevmc port.
Signed-off-by: Gerd Hoffmann <address@hidden>
Commit: 5a49d3e9a799b7e1bf87da7ae7f2a719e01da319
https://github.com/qemu/qemu/commit/5a49d3e9a799b7e1bf87da7ae7f2a719e01da319
Author: Marc-André Lureau <address@hidden>
Date: 2012-12-17 (Mon, 17 Dec 2012)
Changed paths:
M qemu-char.c
M qemu-options.hx
M spice-qemu-char.c
M trace-events
M ui/qemu-spice.h
Log Message:
-----------
spice-qemu-char: add spiceport chardev
Add a new spice chardev to allow arbitrary communication between the
host and the Spice client via the spice server.
Examples:
This allows the Spice client to have a special port for the qemu
monitor:
... -chardev spiceport,name=org.qemu.monitor,id=monitorport
-mon chardev=monitorport
v2:
- remove support for chardev to chardev linking
- conditionnaly compile with SPICE_SERVER_VERSION
Signed-off-by: Gerd Hoffmann <address@hidden>
Commit: 7a5448ce6ef140a20b1a090d50aeb4248d0a9ffd
https://github.com/qemu/qemu/commit/7a5448ce6ef140a20b1a090d50aeb4248d0a9ffd
Author: Marc-André Lureau <address@hidden>
Date: 2012-12-17 (Mon, 17 Dec 2012)
Changed paths:
M spice-qemu-char.c
Log Message:
-----------
spice-qemu-char: keep a list of spice chardev
Signed-off-by: Gerd Hoffmann <address@hidden>
Commit: afd0b4091fef7a1290cf76c6da8c9a24a3553d58
https://github.com/qemu/qemu/commit/afd0b4091fef7a1290cf76c6da8c9a24a3553d58
Author: Marc-André Lureau <address@hidden>
Date: 2012-12-17 (Mon, 17 Dec 2012)
Changed paths:
M spice-qemu-char.c
M ui/qemu-spice.h
M ui/spice-core.c
Log Message:
-----------
spice-qemu-char: register spicevmc ports during qemu_spice_init()
Do the delayed registration of spicevmc ports after Spice server is
initialized.
Signed-off-by: Gerd Hoffmann <address@hidden>
Commit: 700f6b6a921861a8946377a9531b6d1e8b09bb51
https://github.com/qemu/qemu/commit/700f6b6a921861a8946377a9531b6d1e8b09bb51
Author: Marc-André Lureau <address@hidden>
Date: 2012-12-17 (Mon, 17 Dec 2012)
Changed paths:
A docs/spice-port-fqdn.txt
Log Message:
-----------
docs: add spice-port-fqdn.txt
Start a simple org.qemu.* registry of well known name.
Signed-off-by: Gerd Hoffmann <address@hidden>
Commit: 4e28976e563ad54f6adc5ae00b1fb8224f1a82ca
https://github.com/qemu/qemu/commit/4e28976e563ad54f6adc5ae00b1fb8224f1a82ca
Author: Amit Shah <address@hidden>
Date: 2012-12-17 (Mon, 17 Dec 2012)
Changed paths:
M hw/virtio-serial-bus.c
Log Message:
-----------
virtio-serial-bus: send_control_msg() should not deal with cpkts
Stuff the cpkt before calling send_control_msg(). This function should
not be concerned about contents of the buffer it receives.
A few code refactorings recently have made making this change easier
than earlier.
Coverity and clang have flagged this code several times in the past
(cpkt->id not set before send_control_event() passed it on to
send_control_msg()). This will finally eliminate the false-positive.
CC: Markus Armbruster <address@hidden>
Reviewed-by: Markus Armbruster <address@hidden>
Signed-off-by: Amit Shah <address@hidden>
Commit: 91bdd1cf08f65b7a127c22d4d65ff9d16dcac870
https://github.com/qemu/qemu/commit/91bdd1cf08f65b7a127c22d4d65ff9d16dcac870
Author: Amit Shah <address@hidden>
Date: 2012-12-18 (Tue, 18 Dec 2012)
Changed paths:
M hw/virtio-serial-bus.c
Log Message:
-----------
virtio-serial-bus: assert port is non-null in remove_port()
remove_port() is called from qdev's unplug callback, and we're certain
the port will be found in our list of ports. Adding an assert()
documents this.
This was flagged by Coverity, fix suggested by Markus.
CC: Markus Armbruster <address@hidden>
Reviewed-by: Markus Armbruster <address@hidden>
Signed-off-by: Amit Shah <address@hidden>
Commit: e103129b1b5746f8388b37d18317e61d6b139b69
https://github.com/qemu/qemu/commit/e103129b1b5746f8388b37d18317e61d6b139b69
Author: Zhi Yong Wu <address@hidden>
Date: 2012-12-18 (Tue, 18 Dec 2012)
Changed paths:
M net/hub.c
Log Message:
-----------
net, hub: fix the indent in the comments
Remove some redundant blanks in the comments of
net_hub_id_for_client().
Signed-off-by: Zhi Yong Wu <address@hidden>
Signed-off-by: Stefan Hajnoczi <address@hidden>
Commit: d96fc51cc6defcd80bdf932823dadd88be532a0b
https://github.com/qemu/qemu/commit/d96fc51cc6defcd80bdf932823dadd88be532a0b
Author: Peter Crosthwaite <address@hidden>
Date: 2012-12-18 (Tue, 18 Dec 2012)
Changed paths:
M hw/pflash_cfi01.c
Log Message:
-----------
pflash_cfi01: qemu_log_mask "unimplemented" msg
This printf is informing the user of unimplemented functionality. It should be
re-directed to qemu_log(LOG_UNIMP, ...) accordingly.
Signed-off-by: Peter Crosthwaite <address@hidden>
Reviewed-by: Peter Maydell <address@hidden>
Signed-off-by: Stefan Hajnoczi <address@hidden>
Commit: ec9ea4890cd06de1648cbbfb99fcb63e01f4000f
https://github.com/qemu/qemu/commit/ec9ea4890cd06de1648cbbfb99fcb63e01f4000f
Author: Peter Crosthwaite <address@hidden>
Date: 2012-12-18 (Tue, 18 Dec 2012)
Changed paths:
M hw/pflash_cfi01.c
M hw/pflash_cfi02.c
Log Message:
-----------
pflash_cfi0x: Send debug messages to stderr
These debug info messages should go to stderr rather than stdout.
Signed-off-by: Peter Crosthwaite <address@hidden>
Reviewed-by: Peter Maydell <address@hidden>
Signed-off-by: Stefan Hajnoczi <address@hidden>
Commit: 8f6038009662b481fbd1e43cd69af80aa10a8223
https://github.com/qemu/qemu/commit/8f6038009662b481fbd1e43cd69af80aa10a8223
Author: Peter Crosthwaite <address@hidden>
Date: 2012-12-18 (Tue, 18 Dec 2012)
Changed paths:
M hw/zynq_slcr.c
Log Message:
-----------
zynq_slcr: Compile time warning fixes.
Few warnings when compiled with debug printfs enabled. Fixed all.
Signed-off-by: Peter Crosthwaite <address@hidden>
Reviewed-by: Peter Maydell <address@hidden>
Signed-off-by: Stefan Hajnoczi <address@hidden>
Commit: 8c815fb30ed1940c66389be728b29d5ebdf05c0e
https://github.com/qemu/qemu/commit/8c815fb30ed1940c66389be728b29d5ebdf05c0e
Author: Peter Crosthwaite <address@hidden>
Date: 2012-12-18 (Tue, 18 Dec 2012)
Changed paths:
M hw/arm_gic.c
Log Message:
-----------
arm_gic: Add cpu nr to Raised IRQ message
Add the relevant CPU nr to this debug message to make IRQ debugging more
informative.
Signed-off-by: Peter Crosthwaite <address@hidden>
Reviewed-by: Peter Maydell <address@hidden>
Signed-off-by: Stefan Hajnoczi <address@hidden>
Commit: 887eb29930a7b48e46d16916cb050d114016f143
https://github.com/qemu/qemu/commit/887eb29930a7b48e46d16916cb050d114016f143
Author: Cole Robinson <address@hidden>
Date: 2012-12-18 (Tue, 18 Dec 2012)
Changed paths:
M .gitignore
Log Message:
-----------
gitignore: Add virtfs-proxy-helper
Signed-off-by: Cole Robinson <address@hidden>
Signed-off-by: Stefan Hajnoczi <address@hidden>
Commit: e12cdb1b4055530c61fe99683d256c42e9e62ac8
https://github.com/qemu/qemu/commit/e12cdb1b4055530c61fe99683d256c42e9e62ac8
Author: John Spencer <address@hidden>
Date: 2012-12-18 (Tue, 18 Dec 2012)
Changed paths:
M user-exec.c
Log Message:
-----------
fix build error on ARM due to wrong glibc check
the test for glibc < 2 "succeeds" wrongly for any non-glibc C library,
and breaks the build on musl libc.
we must first test if __GLIBC__ is defined at all, before using it
unconditionally.
Signed-off-by: John Spencer <address@hidden>
Reviewed-by: Stefan Weil <address@hidden>
Signed-off-by: Stefan Hajnoczi <address@hidden>
Commit: c56dc774242f902e51e2343f4472e742ef2b7838
https://github.com/qemu/qemu/commit/c56dc774242f902e51e2343f4472e742ef2b7838
Author: John Spencer <address@hidden>
Date: 2012-12-18 (Tue, 18 Dec 2012)
Changed paths:
M linux-user/syscall.c
Log Message:
-----------
linux-user/syscall.c: remove wrong forward decl of setgroups()
this declaration is wrong:
the correct prototype on linux is:
int setgroups(size_t size, const gid_t *list);
since by default musl libc exposes this symbol in unistd.h
additionally to grp.h, the wrong declaration causes a build error.
the proper fix is to simply include the correct header.
Signed-off-by: John Spencer <address@hidden>
Reviewed-by: Stefan Weil <address@hidden>
Signed-off-by: Stefan Hajnoczi <address@hidden>
Commit: 5a6c7644b215060a43d94709307d86bc50e1b4b9
https://github.com/qemu/qemu/commit/5a6c7644b215060a43d94709307d86bc50e1b4b9
Author: Laszlo Ersek <address@hidden>
Date: 2012-12-18 (Tue, 18 Dec 2012)
Changed paths:
M hw/vmmouse.c
Log Message:
-----------
vmmouse_reset(): remove minimal code duplication
Commit 069ab0eb added a vmmouse_disable() call to vmmouse_reset().
vmmouse_disable() resets the status already.
Signed-off-by: Laszlo Ersek <address@hidden>
Signed-off-by: Stefan Hajnoczi <address@hidden>
Commit: 779ab5e3ddb9ad903f9a0ec21e148ed7bfd2d255
https://github.com/qemu/qemu/commit/779ab5e3ddb9ad903f9a0ec21e148ed7bfd2d255
Author: Stefan Weil <address@hidden>
Date: 2012-12-18 (Tue, 18 Dec 2012)
Changed paths:
M configure
Log Message:
-----------
configure: Earlier pkg-config probe
Probe pkg-config before it is used for the first time (libseccomp check).
Signed-off-by: Stefan Weil <address@hidden>
Signed-off-by: Stefan Hajnoczi <address@hidden>
Commit: c3a1ecd0fc565c913efc59663e7ac34b9c3c2291
https://github.com/qemu/qemu/commit/c3a1ecd0fc565c913efc59663e7ac34b9c3c2291
Author: Anthony Liguori <address@hidden>
Date: 2012-12-18 (Tue, 18 Dec 2012)
Changed paths:
M hw/xen_console.c
M hw/xen_pt.c
M hw/xen_pt_msi.c
M xen-all.c
Log Message:
-----------
Merge remote-tracking branch 'sstabellini/xen-20121217' into staging
* sstabellini/xen-20121217:
cpu_ioreq_pio, cpu_ioreq_move: i should be uint32_t rather than int
cpu_ioreq_pio, cpu_ioreq_move: introduce read_phys_req_item,
write_phys_req_item
Fix compile errors when enabling Xen debug logging.
xen: fix trivial PCI passthrough MSI-X bug
xen: implement support for secondary consoles in the console backend
Signed-off-by: Anthony Liguori <address@hidden>
Commit: 510981a097bf16ef4747c9a1dfe806edfc117177
https://github.com/qemu/qemu/commit/510981a097bf16ef4747c9a1dfe806edfc117177
Author: Anthony Liguori <address@hidden>
Date: 2012-12-18 (Tue, 18 Dec 2012)
Changed paths:
A docs/spice-port-fqdn.txt
M hw/qxl-render.c
M qemu-char.c
M qemu-options.hx
M spice-qemu-char.c
M trace-events
M ui/qemu-spice.h
M ui/spice-core.c
Log Message:
-----------
Merge remote-tracking branch 'spice/spice.v66' into staging
* spice/spice.v66:
docs: add spice-port-fqdn.txt
spice-qemu-char: register spicevmc ports during qemu_spice_init()
spice-qemu-char: keep a list of spice chardev
spice-qemu-char: add spiceport chardev
spice-qemu-char: factor out CharDriverState creation
spice-qemu-char: write to chardev whatever amount it can read
qxl+vnc: register a vm state change handler for dummy spice_server
qxl: save qemu_create_displaysurface_from result
Signed-off-by: Anthony Liguori <address@hidden>
Commit: 5455a474d92e345df83212fd1b2f59d4a5d46ca9
https://github.com/qemu/qemu/commit/5455a474d92e345df83212fd1b2f59d4a5d46ca9
Author: Anthony Liguori <address@hidden>
Date: 2012-12-18 (Tue, 18 Dec 2012)
Changed paths:
M hw/virtio-serial-bus.c
Log Message:
-----------
Merge remote-tracking branch 'amit/master' into staging
* amit/master:
virtio-serial-bus: assert port is non-null in remove_port()
virtio-serial-bus: send_control_msg() should not deal with cpkts
virtio-serial: delete timer if active during exit
virtio-serial: allocate post_load only at load-time
virtio-serial: move active ports loading to separate function
virtio-serial: use uint32_t to count ports
Signed-off-by: Anthony Liguori <address@hidden>
Commit: 914606d26e654d4c01bd5186f4d05e3fd445e219
https://github.com/qemu/qemu/commit/914606d26e654d4c01bd5186f4d05e3fd445e219
Author: Anthony Liguori <address@hidden>
Date: 2012-12-18 (Tue, 18 Dec 2012)
Changed paths:
M .gitignore
M configure
M hw/arm_gic.c
M hw/pflash_cfi01.c
M hw/pflash_cfi02.c
M hw/vmmouse.c
M hw/zynq_slcr.c
M linux-user/syscall.c
M net/hub.c
M user-exec.c
Log Message:
-----------
Merge remote-tracking branch 'stefanha/trivial-patches' into staging
* stefanha/trivial-patches:
configure: Earlier pkg-config probe
vmmouse_reset(): remove minimal code duplication
linux-user/syscall.c: remove wrong forward decl of setgroups()
fix build error on ARM due to wrong glibc check
gitignore: Add virtfs-proxy-helper
arm_gic: Add cpu nr to Raised IRQ message
zynq_slcr: Compile time warning fixes.
pflash_cfi0x: Send debug messages to stderr
pflash_cfi01: qemu_log_mask "unimplemented" msg
net, hub: fix the indent in the comments
Signed-off-by: Anthony Liguori <address@hidden>
Compare: https://github.com/qemu/qemu/compare/a8a826a3c3b8...914606d26e65
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Qemu-commits] [qemu/qemu] c3587c: virtio-serial: use uint32_t to count ports,
GitHub <=