[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-commits] [qemu/qemu] 912744: qga: minimal support for fstrim for W
From: |
GitHub |
Subject: |
[Qemu-commits] [qemu/qemu] 912744: qga: minimal support for fstrim for Windows guests |
Date: |
Tue, 01 Nov 2016 06:00:04 -0700 |
Branch: refs/heads/master
Home: https://github.com/qemu/qemu
Commit: 91274487a979b693c264be35b2ffcb703f0a104e
https://github.com/qemu/qemu/commit/91274487a979b693c264be35b2ffcb703f0a104e
Author: Denis V. Lunev <address@hidden>
Date: 2016-10-31 (Mon, 31 Oct 2016)
Changed paths:
M qga/commands-win32.c
Log Message:
-----------
qga: minimal support for fstrim for Windows guests
Unfortunately, there is no public Windows API to start trimming the
filesystem. The only viable way here is to call 'defrag.exe /L' for
each volume.
This is working since Win8 and Win2k12.
Signed-off-by: Denis V. Lunev <address@hidden>
Signed-off-by: Denis Plotnikov <address@hidden>
CC: Michael Roth <address@hidden>
CC: Stefan Weil <address@hidden>
CC: Marc-André Lureau <address@hidden>
* check g_utf16_to_utf8() return value for GError handling instead
of GError directly (Marc-André)
Signed-off-by: Michael Roth <address@hidden>
Commit: b8093d38e8dce0413fe8999fe2dee48a96ab1104
https://github.com/qemu/qemu/commit/b8093d38e8dce0413fe8999fe2dee48a96ab1104
Author: Stefan Hajnoczi <address@hidden>
Date: 2016-10-31 (Mon, 31 Oct 2016)
Changed paths:
M qga/channel-posix.c
Log Message:
-----------
qga: drop unused sockaddr in accept(2) call
ga_channel_listen_accept() is currently hard-coded to support only
AF_UNIX because the struct sockaddr_un type is used. This function
should work with any address family.
Drop the sockaddr since the client address is unused and is an optional
argument to accept(2).
Signed-off-by: Stefan Hajnoczi <address@hidden>
Reviewed-by: Michael Roth <address@hidden>
Signed-off-by: Michael Roth <address@hidden>
Commit: f06b2031a31cdd3acf6f61a977e505b8c6b58f73
https://github.com/qemu/qemu/commit/f06b2031a31cdd3acf6f61a977e505b8c6b58f73
Author: Stefan Hajnoczi <address@hidden>
Date: 2016-10-31 (Mon, 31 Oct 2016)
Changed paths:
M qga/channel-posix.c
Log Message:
-----------
qga: drop unnecessary GA_CHANNEL_UNIX_LISTEN checks
Throughout the code there are c->listen_channel checks which manage the
listen socket file descriptor (waiting for accept(2), closing the file
descriptor, etc). These checks are currently preceded by explicit
c->method == GA_CHANNEL_UNIX_LISTEN checks.
Explicit GA_CHANNEL_UNIX_LISTEN checks are not necessary since serial
channel types do not create the listen channel (c->listen_channel).
As more listen channel types are added, explicitly checking all of them
becomes messy. Rely on c->listen_channel to determine whether or not a
listen socket file descriptor is used.
Signed-off-by: Stefan Hajnoczi <address@hidden>
Reviewed-by: Michael Roth <address@hidden>
Signed-off-by: Michael Roth <address@hidden>
Commit: 6a02c8069f6c28ed1251e3fbbdf16e49d2c27ccc
https://github.com/qemu/qemu/commit/6a02c8069f6c28ed1251e3fbbdf16e49d2c27ccc
Author: Stefan Hajnoczi <address@hidden>
Date: 2016-10-31 (Mon, 31 Oct 2016)
Changed paths:
M configure
M qapi-schema.json
M util/qemu-sockets.c
Log Message:
-----------
sockets: add AF_VSOCK support
Add the AF_VSOCK address family so that qemu-ga will be able to use
virtio-vsock.
The AF_VSOCK address family uses <cid, port> address tuples. The cid is
the unique identifier comparable to an IP address. AF_VSOCK does not
use name resolution so it's easy to convert between struct sockaddr_vm
and strings.
This patch defines a VsockSocketAddress instead of trying to piggy-back
on InetSocketAddress. This is cleaner in the long run since it avoids
lots of IPv4 vs IPv6 vs vsock special casing.
Signed-off-by: Stefan Hajnoczi <address@hidden>
* treat trailing commas as garbage when parsing (Eric Blake)
* add configure check instead of checking AF_VSOCK directly
Signed-off-by: Michael Roth <address@hidden>
Commit: 586ef5dee77180fc32e33bc08051600030630239
https://github.com/qemu/qemu/commit/586ef5dee77180fc32e33bc08051600030630239
Author: Stefan Hajnoczi <address@hidden>
Date: 2016-10-31 (Mon, 31 Oct 2016)
Changed paths:
M qga/channel-posix.c
M qga/channel.h
M qga/main.c
Log Message:
-----------
qga: add vsock-listen method
Add AF_VSOCK (virtio-vsock) support as an alternative to virtio-serial.
$ qemu-system-x86_64 -device vhost-vsock-pci,guest-cid=3 ...
(guest)# qemu-ga -m vsock-listen -p 3:1234
Signed-off-by: Stefan Hajnoczi <address@hidden>
Reviewed-by: Michael Roth <address@hidden>
Signed-off-by: Michael Roth <address@hidden>
Commit: 38ab359644e7f26b1d77842ab29c4d425e5e540c
https://github.com/qemu/qemu/commit/38ab359644e7f26b1d77842ab29c4d425e5e540c
Author: Peter Maydell <address@hidden>
Date: 2016-11-01 (Tue, 01 Nov 2016)
Changed paths:
M configure
M qapi-schema.json
M qga/channel-posix.c
M qga/channel.h
M qga/commands-win32.c
M qga/main.c
M util/qemu-sockets.c
Log Message:
-----------
Merge remote-tracking branch 'remotes/mdroth/tags/qga-pull-2016-10-31-tag'
into staging
qemu-ga patch queue for 2.8
* add guest-fstrim support for w32
* add support for using virtio-vsock as the communication channel
# gpg: Signature made Tue 01 Nov 2016 00:55:40 GMT
# gpg: using RSA key 0x3353C9CEF108B584
# gpg: Good signature from "Michael Roth <address@hidden>"
# gpg: aka "Michael Roth <address@hidden>"
# gpg: aka "Michael Roth <address@hidden>"
# Primary key fingerprint: CEAC C9E1 5534 EBAB B82D 3FA0 3353 C9CE F108 B584
* remotes/mdroth/tags/qga-pull-2016-10-31-tag:
qga: add vsock-listen method
sockets: add AF_VSOCK support
qga: drop unnecessary GA_CHANNEL_UNIX_LISTEN checks
qga: drop unused sockaddr in accept(2) call
qga: minimal support for fstrim for Windows guests
Signed-off-by: Peter Maydell <address@hidden>
Compare: https://github.com/qemu/qemu/compare/bf99fd3983d7...38ab359644e7
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Qemu-commits] [qemu/qemu] 912744: qga: minimal support for fstrim for Windows guests,
GitHub <=