Skip to content
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

Resolve the redundant tls packet issue #59

Merged
merged 1 commit into from
Oct 19, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 15 additions & 10 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -187,13 +187,16 @@ $QEMU -accel kvm \

3. Do pre-migration:

Ask migtd-dst to start pre-migration and wait for migtd-src's connection:
```
echo "qom-set /objects/tdx0/ vsockport 0" | nc -U /tmp/qmp-sock-dst
```
# Asking migtd-src to connect to the src socat
echo "qom-set /objects/tdx0/ vsockport 1234" | nc -U /tmp/qmp-sock-src

# Asking migtd-dst to connect to the dst socat
echo "qom-set /objects/tdx0/ vsockport 1235" | nc -U /tmp/qmp-sock-dst
Ask migtd-src to start pre-migration:
```
echo "qom-set /objects/tdx0/ vsockport 0" | nc -U /tmp/qmp-sock-src
```

Note: user TDs need to be bound to MigTDs before pre-migration.

#### Virtio-serial approach [experimental feature]
Expand Down Expand Up @@ -250,12 +253,14 @@ Replace the IP specified by `host=127.0.0.1` with the target IP address, if cros

3. Do pre-migration:

Here we still set the `vsockport` as a workaround to trigger the pre-migration:
Here we still set the `vsockport` as a workaround to trigger the pre-migration.

Ask migtd-dst to start pre-migration and wait for migtd-src's connection:
```
# Asking migtd-src to start pre-migration
echo "qom-set /objects/tdx0/ vsockport 0" | nc -U /tmp/qmp-sock-src

# Asking migtd-dst to start pre-migration
echo "qom-set /objects/tdx0/ vsockport 0" | nc -U /tmp/qmp-sock-dst
```
```

Ask migtd-src to start pre-migration:
```
echo "qom-set /objects/tdx0/ vsockport 0" | nc -U /tmp/qmp-sock-src
```
Loading