-
Notifications
You must be signed in to change notification settings - Fork 28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Enable vhosts hotplugs. #537
Open
outscale-fne
wants to merge
1
commit into
outscale:master
Choose a base branch
from
outscale-fne:fne-vhosts
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
outscale-fne
force-pushed
the
fne-vhosts
branch
4 times, most recently
from
August 6, 2020 14:04
f36f546
to
f2b5210
Compare
outscale-fne
force-pushed
the
fne-vhosts
branch
2 times, most recently
from
August 19, 2020 10:32
30e6119
to
0dbb6aa
Compare
outscale-fne
force-pushed
the
fne-vhosts
branch
7 times, most recently
from
September 8, 2020 06:34
5915deb
to
9c99d22
Compare
outscale-fne
force-pushed
the
fne-vhosts
branch
from
September 15, 2020 06:32
22fb048
to
4da028f
Compare
outscale-fne
force-pushed
the
fne-vhosts
branch
6 times, most recently
from
October 30, 2020 09:59
a2c9a7b
to
f3cc0f1
Compare
outscale-mgo
requested changes
Nov 2, 2020
outscale-fne
force-pushed
the
fne-vhosts
branch
from
November 2, 2020 15:37
57c0a71
to
e57befd
Compare
@outscale-mgo your review has been checked and changes have been applied :) |
outscale-fne
force-pushed
the
fne-vhosts
branch
3 times, most recently
from
November 2, 2020 16:32
e62d406
to
fce41b9
Compare
outscale-toa
reviewed
Nov 9, 2020
outscale-toa
approved these changes
Nov 9, 2020
outscale-fne
force-pushed
the
fne-vhosts
branch
from
November 9, 2020 15:49
e774cac
to
ae855eb
Compare
outscale-fne
force-pushed
the
fne-vhosts
branch
from
November 9, 2020 15:52
ae855eb
to
9c2ff75
Compare
outscale-fne
commented
Nov 10, 2020
@@ -278,7 +293,9 @@ static void vhost_create_socket(struct pg_vhost_state *state, uint64_t flags, | |||
int ret; | |||
|
|||
path = g_strdup_printf("%s/qemu-%s", sockets_path, state->brick.name); | |||
g_remove(path); | |||
/* If the socket is CLIENT do NOT destroy the socket. */ | |||
if ((flags & 1) == 0) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Must set parenthesis @outscale-toa : Else I get this:
src/vhost.c: In function ‘vhost_create_socket’:
src/vhost.c:297:12: error: suggest parentheses around comparison in operand of ‘&’ [-Werror=parentheses]
if (flags & 1 == 0)
^
src/vhost.c: At top level:
cc1: error: unrecognized command line option ‘-Wno-address-of-packed-member’ [-Werror]
cc1: error: unrecognized command line option ‘-Wno-unknown-warning-option’ [-Werror]
cc1: error: unrecognized command line option ‘-Wno-implicite-fallthrough’ [-Werror]
cc1: all warnings being treated as errors
Makefile:93: recipe for target 'src/vhost-dev.o' failed
make: *** [src/vhost-dev.o] Error 1
outscale-fne
force-pushed
the
fne-vhosts
branch
from
November 10, 2020 08:50
611a8ee
to
d7466f6
Compare
outscale-fne
force-pushed
the
fne-vhosts
branch
2 times, most recently
from
November 12, 2020 13:33
c047916
to
f0ff06d
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
The idea is to make QEMU act as a server and PACKETGRAPH as a client so they can handle both hotplugs.
This is using the virtio vhost protocol.